Last change
on this file since 2295 was
2295,
checked in by hectorgh, 5 years ago
|
adding project files
|
-
Property svn:executable set to
*
|
File size:
592 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/$ORIGINAL_FILE.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 | |
---|
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.