Ignore:
Timestamp:
May 17, 2017, 12:19:59 PM (3 years ago)
Author:
mabarracus
Message:

Use debian alternatives system providing background
Add new backgrounds with button like older versions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • n4d-check-server/trunk/fuentes/debian/postinst

    r4801 r4810  
    44case "$1" in
    55   configure)
    6         LIGHT_CONF=/etc/lightdm/lightdm-gtk-greeter.conf.d/99_lliurex.conf
    7         if [ -f "$LIGHT_CONF" ]; then
    8             sed -r -i 's/background=.*/background=\/usr\/share\/n4d-check-server\/lightdm-bg.png/' $LIGHT_CONF
    9         fi
     6        #LIGHT_CONF=/etc/lightdm/lightdm-gtk-greeter.conf.d/99_lliurex.conf
     7        #if [ -f "$LIGHT_CONF" ]; then
     8        #    sed -r -i 's/background=.*/background=\/usr\/share\/n4d-check-server\/lightdm-bg.png/' $LIGHT_CONF
     9        #fi
     10        update-alternatives --install /usr/share/backgrounds/lliurex/lightdm-bg.png lightdm-bg /usr/share/n4d-check-server/lightdm-bg.png 60
    1011   ;;
    1112
Note: See TracChangeset for help on using the changeset viewer.