Ignore:
Timestamp:
Aug 29, 2016, 1:32:28 PM (3 years ago)
Author:
hectorgh
Message:

adding postinst

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lliurex-artwork-defaults/trunk/fuentes/debian/lliurex-artwork-defaults-desktop.postinst

    r2341 r2344  
    2626        dpkg-divert --add --package ${PKG} --rename --divert "$NEW_DIVERTED_FILE" "$ORIGINAL_UNITY_FILE"
    2727
    28         ORIGINAL_WHISKER_ES_FILE="/usr/share/locale/es/LC_MESSAGES/xfce4-whiskermenu-plugin.mo"
    29         NEW_DIVERTED_ES_FILE="/usr/share/locale/es/LC_MESSAGES/xfce4-whiskermenu-plugin.diverted"
    30         LLIUREX_ES_FILE="/usr/share/lliurex-artwork-defaults/whiskermenu/locale/es/xfce4-whiskermenu-plugin.mo"
    31 
    32         ORIGINAL_WHISKER_CA_FILE="/usr/share/locale/ca/LC_MESSAGES/xfce4-whiskermenu-plugin.mo"
    33         NEW_DIVERTED_CA_FILE="/usr/share/locale/ca/LC_MESSAGES/xfce4-whiskermenu-plugin.diverted"
    34         LLIUREX_CA_FILE="/usr/share/lliurex-artwork-defaults/whiskermenu/locale/ca/xfce4-whiskermenu-plugin.mo"
    35 
    36         if [ -f "$ORIGINAL_WHISKER_ES_FILE" ]; then
    37 
    38                 dpkg-divert --add --package ${PKG} --rename --divert "$NEW_DIVERTED_ES_FILE" "$ORIGINAL_WHISKER_ES_FILE"
    39                 ln -s "$LLIUREX_ES_FILE" "$ORIGINAL_WHISKER_ES_FILE"
    40 
    41         fi
    42 
    43           if [ -f "$ORIGINAL_WHISKER_CA_FILE" ]; then
    44 
    45                 dpkg-divert --add --package ${PKG} --rename --divert "$NEW_DIVERTED_CA_FILE" "$ORIGINAL_WHISKER_CA_FILE"
    46                 ln -s "$LLIUREX_CA_FILE" "$ORIGINAL_WHISKER_CA_FILE"
    47 
    48         fi
    49 
    50 
    51        
    52        
    5328
    5429        update-alternatives \
Note: See TracChangeset for help on using the changeset viewer.