#!/bin/sh case $1 in remove|purge) #LIGHT_CONF=/etc/lightdm/lightdm-gtk-greeter.conf.d/99_lliurex.conf #if [ -f "$LIGHT_CONF" ]; then # sed -r -i 's/background=.*/background=\/usr\/share\/backgrounds\/lliurex\/llliurex-blueprint.png/' $LIGHT_CONF #fi update-alternatives --remove lightdm-bg /usr/share/n4d-check-server/lightdm-bg.png ;; abort-install|disappear) ;; *) echo "Nothing to do" ;; esac