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 | |
---|
11 | case $1 in |
---|
12 | |
---|
13 | configure) |
---|
14 | if dpkg-divert --package ${OUR_PACKAGE} --add --rename --divert ${ORIG_FILE}.real ${ORIG_FILE} ; then |
---|
15 | ln -fs ${OUR_FILE} ${ORIG_FILE} |
---|
16 | else |
---|
17 | echo "Unabe to divert file ${ORIG_FILE}" |
---|
18 | fi |
---|
19 | ;; |
---|
20 | *) |
---|
21 | echo "Nothing to do" |
---|
22 | ;; |
---|
23 | esac |
---|
24 | |
---|
25 | #DEBHELPER# |
---|
Note: See
TracBrowser
for help on using the repository browser.