Ignore:
Timestamp:
Jun 6, 2016, 1:18:15 PM (3 years ago)
Author:
hectorgh
Message:

updating alternatives

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lliurex-artwork-defaults/trunk/fuentes/debian/lliurex-artwork-defaults-client.prerm

    r1761 r1846  
    55
    66if [ "$1" = remove ] ; then
    7         PKG="lliurex-artwork-defaults-desktop"
    8         ORIGINAL_UNITY_FILE="/usr/share/xsessions/xubuntu.desktop"
    9         NEW_DIVERTED_FILE="/usr/share/diverted-sessions/xubuntu.desktop"
    10         dpkg-divert --remove --package ${PKG} --rename --divert "$NEW_DIVERTED_FILE" "$ORIGINAL_UNITY_FILE"
     7       
     8        # DO NOTHING
    119
    12 
    13         ORIGINAL_UNITY_FILE="/usr/share/xsessions/xfce.desktop"
    14         NEW_DIVERTED_FILE="/usr/share/diverted-sessions/xfce.desktop"
    15         dpkg-divert --remove --package ${PKG} --rename --divert "$NEW_DIVERTED_FILE" "$ORIGINAL_UNITY_FILE"
    16 
    17 
    18         update-alternatives \
    19                 --remove  lliurex-default-background.png  /usr/share/backgrounds/lliurex16-classroom-HD.png
    20 
    21         update-alternatives --auto lliurex-default-background.png
    2210
    2311
Note: See TracChangeset for help on using the changeset viewer.