source: lliurex-firefox-settings/trunk/fuentes/debian/lliurex-firefox-settings.prerm @ 3706

Last change on this file since 3706 was 3706, checked in by Juanma, 3 years ago

Added default bookmarks and customization

File size: 621 bytes
Line 
1#!/bin/sh
2set -e
3
4ORIG_FILE="/etc/xul-ext/ubufox.js"
5OUR_FILE="/etc/xul-ext/lliurex.js"
6DIST_ORIG_FILE="/usr/lib/firefox/distributions/distribution.ini"
7DIST_OUR_FILE="/usr/lib/firefox/distributions/lliurex.ini"
8
9
10case $1 in
11        remove|purge|abort-install|disappear)
12                if [ -f ${ORIG_FILE}.real ] ; then
13                        dpkg-divert --package lliurex-firefox-settings-client --rename --quiet --remove ${ORIG_FILE}|| true
14                fi
15                if [ -f ${DIST_ORIG_FILE}.real ] ; then
16                        dpkg-divert --package lliurex-firefox-settings-client --rename --quiet --remove ${DIST_ORIG_FILE}|| true
17                fi
18                ;;
19        *)
20                echo "Nothing to do"
21                ;; 
22esac
23
24#DEBHELPER#
Note: See TracBrowser for help on using the repository browser.