source: n4d-check-server/trunk/fuentes/debian/prerm @ 4801

Last change on this file since 4801 was 4801, checked in by mabarracus, 2 years ago

Added lightdm configuration 4 change background

  • Property svn:executable set to *
File size: 374 bytes
Line 
1#!/bin/sh
2
3case $1 in
4        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
9                ;;
10               
11        abort-install|disappear)
12                ;;
13        *)
14                echo "Nothing to do"
15                ;;
16esac
17
18
19
Note: See TracBrowser for help on using the repository browser.