Line | |
---|
1 | #!/bin/sh |
---|
2 | |
---|
3 | set -e |
---|
4 | |
---|
5 | PACKAGE_NAME="lliurex-lightdm-theme" |
---|
6 | ORIGINAL_FILE="/etc/lightdm/lightdm-gtk-greeter.conf.d/99_ubuntu-mate.conf" |
---|
7 | DIVERT_FILE="/usr/share/lliurex-lightdm-theme/diversions/99_ubuntu-mate.diverted" |
---|
8 | |
---|
9 | case "$1" in |
---|
10 | configure) |
---|
11 | |
---|
12 | if [ ! -r ${DIVERT_FILE} ] ; then |
---|
13 | |
---|
14 | dpkg-divert --package ${PACKAGE_NAME} --rename --quiet --add --divert ${DIVERT_FILE} ${ORIGINAL_FILE} |
---|
15 | fi |
---|
16 | |
---|
17 | |
---|
18 | ;; |
---|
19 | |
---|
20 | abort-upgrade|abort-remove|abort-deconfigure) |
---|
21 | ;; |
---|
22 | |
---|
23 | *) |
---|
24 | exit 1 |
---|
25 | ;; |
---|
26 | esac |
---|
27 | |
---|
28 | #DEBHELPER# |
---|
29 | |
---|
30 | exit 0 |
---|
Note: See
TracBrowser
for help on using the repository browser.