* Add etc/xdg/lubuntu/lightdm/lightdm-gtk-greeter.conf * debian/{postinst,prerm}: install/remove alternatives to use our config as /etc/lightdm/lightdm-gtk-greeter.conf. * debian/control: - add depends on lightdm-gtk-greeter >= 1.0.0-0ubuntu2. - provides lightdm-gtk-greeter-config.
13 lines
277 B
Bash
13 lines
277 B
Bash
#!/bin/sh -e
|
|
|
|
set -e
|
|
|
|
if [ "$1" = "remove" ] ; then
|
|
update-alternatives --remove lxdm.conf /etc/xdg/lubuntu/lxdm/lxdm.conf
|
|
update-alternatives --remove lightdm-gtk-greeter-config-derivative \
|
|
/etc/xdg/xdg-xubuntu/lightdm/lightdm-gtk-greeter.conf
|
|
fi
|
|
|
|
#DEBHELPER#
|
|
exit 0
|