Last change
on this file since 4809 was
4809,
checked in by mabarracus, 4 years ago
|
Set lightdm background to work with debian alternatives system
|
-
Property svn:executable set to
*
|
File size:
701 bytes
|
Line | |
---|
1 | #!/bin/sh |
---|
2 | |
---|
3 | set -e |
---|
4 | |
---|
5 | # Template for diversions |
---|
6 | |
---|
7 | PACKAGE_NAME="lliurex-lightdm-theme" |
---|
8 | ORIGINAL_FILE="/etc/lightdm/lightdm-gtk-greeter.conf.d/99_ubuntu-mate.conf" |
---|
9 | DIVERT_FILE="/usr/share/lliurex-lightdm-theme/diversions/99_ubuntu-mate.diverted" |
---|
10 | |
---|
11 | |
---|
12 | |
---|
13 | case $1 in |
---|
14 | remove|purge|abort-install|disappear) |
---|
15 | |
---|
16 | if [ -f ${DIVERT_FILE} ] ; then |
---|
17 | dpkg-divert --package ${PACKAGE_NAME} --rename --quiet --remove ${ORIG_FILE}|| true |
---|
18 | fi |
---|
19 | update-alternatives --remove lightdm-bg /usr/share/backgrounds/lliurex/lliurex-blueprint.png |
---|
20 | ;; |
---|
21 | *) |
---|
22 | echo "Nothing to do" |
---|
23 | ;; |
---|
24 | esac |
---|
25 | |
---|
26 | #DEBHELPER# |
---|
27 | |
---|
28 | exit 0 |
---|
29 | |
---|
Note: See
TracBrowser
for help on using the repository browser.