Changeset 1846


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

updating alternatives

Location:
lliurex-artwork-defaults/trunk/fuentes/debian
Files:
1 added
3 edited

Legend:

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

    r66 r1846  
    1313        #gconf trigger, for those settings still using gconf
    1414        [ -x /usr/bin/update-gconf-defaults ]  &&  /usr/bin/update-gconf-defaults
     15       
     16        update-alternatives \
     17                --install /usr/share/backgrounds/lliurex-default-background.png lliurex-default-background.png \
     18                /usr/share/backgrounds/lliurex16-classroom-HD.png 700
    1519
    1620fi
  • lliurex-artwork-defaults/trunk/fuentes/debian/lliurex-artwork-defaults-client.postinst

    r1761 r1846  
    1515
    1616
    17         update-alternatives \
    18                 --install /usr/share/backgrounds/lliurex-default-background.png lliurex-default-background.png \
    19                 /usr/share/backgrounds/lliurex16-classroom-HD.png 700
     17
    2018
    2119fi
  • 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.