Changeset 4810


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

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

Location:
n4d-check-server/trunk/fuentes
Files:
5 added
4 edited

Legend:

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

    r4801 r4810  
     1n4d-check-server (0.8.6-3) xenial; urgency=medium
     2
     3  * Use debian alternatives system providing background
     4  * Add new backgrounds with button like older versions
     5
     6 -- M.Angel Juan <m.angel.juan@gmail.com>  Wed, 17 May 2017 12:18:53 +0200
     7
    18n4d-check-server (0.8.6-2) xenial; urgency=medium
    29
  • 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
  • n4d-check-server/trunk/fuentes/debian/prerm

    r4801 r4810  
    33case $1 in
    44        remove|purge)
    5             LIGHT_CONF=/etc/lightdm/lightdm-gtk-greeter.conf.d/99_lliurex.conf
    6             if [ -f "$LIGHT_CONF" ]; then
    7                 sed -r -i 's/background=.*/background=\/usr\/share\/backgrounds\/lliurex\/llliurex-blueprint.png/' $LIGHT_CONF
    8             fi
     5            #LIGHT_CONF=/etc/lightdm/lightdm-gtk-greeter.conf.d/99_lliurex.conf
     6            #if [ -f "$LIGHT_CONF" ]; then
     7            #    sed -r -i 's/background=.*/background=\/usr\/share\/backgrounds\/lliurex\/llliurex-blueprint.png/' $LIGHT_CONF
     8            #fi
     9            update-alternatives --remove lightdm-bg /usr/share/n4d-check-server/lightdm-bg.png
    910                ;;
    1011               
  • n4d-check-server/trunk/fuentes/install-files/usr/bin/n4d-check-server

    r4786 r4810  
    22
    33TOKEN="/run/n4d-cs.lock"
    4 NOKBG="/usr/share/backgrounds/lliurex/lliurex-redprint.png"
    5 OKBG="/usr/share/backgrounds/lliurex/lliurex-blueprint.png"
     4NOKBG="/usr/share/n4d-check-server/lliurex-blueprint-offline.png"
     5OKBG="/usr/share/n4d-check-server/lliurex-blueprint-online.png"
    66LNBG="/usr/share/n4d-check-server/lightdm-bg.png"
    77
Note: See TracChangeset for help on using the changeset viewer.