Line | |
---|
1 | #!/bin/sh |
---|
2 | set -e |
---|
3 | |
---|
4 | |
---|
5 | # LliureX diversions for Thunderbird Dgti |
---|
6 | ORIG_FILE="/usr/lib/thunderbird/defaults/pref/channel-prefs.js" |
---|
7 | OUR_FILE="/usr/lib/thunderbird/defaults/pref/channel-prefs-dgti.js" |
---|
8 | OUR_PACKAGE="lliurex-dgti-conf-thunderbird-extensions-lock" |
---|
9 | |
---|
10 | case $1 in |
---|
11 | remove|purge|abort-install|disappear) |
---|
12 | if [ -f ${ORIG_FILE}.real ] ; then |
---|
13 | dpkg-divert --package ${OUR_PACKAGE} --rename --quiet --remove ${ORIG_FILE}|| true |
---|
14 | fi |
---|
15 | ;; |
---|
16 | *) |
---|
17 | echo "Nothing to do" |
---|
18 | ;; |
---|
19 | esac |
---|
20 | |
---|
21 | #DEBHELPER# |
---|
Note: See
TracBrowser
for help on using the repository browser.