source: lliurex-dgti-conf-thunderbird/trunk/fuentes/debian/lliurex-dgti-conf-thunderbird-extensions-lock.prerm @ 1004

Last change on this file since 1004 was 1004, checked in by mabarracus, 5 years ago

Copy trusty code

File size: 489 bytes
Line 
1#!/bin/sh
2set -e
3
4
5# LliureX diversions for Thunderbird Dgti
6ORIG_FILE="/usr/lib/thunderbird/defaults/pref/channel-prefs.js"
7OUR_FILE="/usr/lib/thunderbird/defaults/pref/channel-prefs-dgti.js"
8OUR_PACKAGE="lliurex-dgti-conf-thunderbird-extensions-lock"
9
10case $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                ;; 
19esac
20
21#DEBHELPER#
Note: See TracBrowser for help on using the repository browser.