source: firefox-esr.old/trunk/fuentes/debian/firefox-esr.prerm @ 6471

Last change on this file since 6471 was 6471, checked in by Juanma, 2 years ago

deprecated firefox-esr

File size: 546 bytes
Line 
1#!/bin/sh
2set -e
3
4
5# Firefox ESR
6ORIG_FILE="/usr/bin/firefox"
7OUR_FILE="/opt/firefox-esr/firefox"
8OUR_PACKAGE="firefox-esr"
9
10
11case $1 in
12        remove|purge|abort-install|disappear)
13                if [ -f ${ORIG_FILE}.real ] ; then
14                        rm -f ${ORIG_FILE}
15                        dpkg-divert --package  ${OUR_PACKAGE} --rename --quiet --remove ${ORIG_FILE}|| true
16                fi
17               
18                ;;
19        *)
20                echo "Nothing to do"
21                ;; 
22esac
23
24# Other Stuff #
25
26#DEBHELPER#
27
Note: See TracBrowser for help on using the repository browser.