source: gutenbach/debian/gutenbach.prerm @ b08c26d

debianmacno-cupsnodebathenaweb
Last change on this file since b08c26d was c631d1a, checked in by Jessica B. Hamrick <jhamrick@…>, 15 years ago

Changed 'sipbmp3' to 'gutenbach' by popular demand. Have not checked for errors, yet.

  • Property mode set to 100644
File size: 1.3 KB
Line 
1#!/bin/sh
2# prerm script for gutenbach
3#
4# see: dh_installdeb(1)
5
6set -e
7
8# summary of how this script can be called:
9#        * <prerm> `remove'
10#        * <old-prerm> `upgrade' <new-version>
11#        * <new-prerm> `failed-upgrade' <old-version>
12#        * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
13#        * <deconfigured's-prerm> `deconfigure' `in-favour'
14#          <package-being-installed> <version> `removing'
15#          <conflicting-package> <version>
16# for details, see http://www.debian.org/doc/debian-policy/ or
17# the debian-policy package
18
19
20case "$1" in
21    remove|upgrade|deconfigure)
22        if [ -e /usr/lib/gutenbach/rm/revert_lpd.conf ]; then
23            chmod +x /usr/lib/gutenbach/rm/revert_lpd.conf
24            /usr/lib/gutenbach/rm/revert_lpd.conf
25        fi
26
27        if [ -e /usr/lib/gutenbach/rm/revert_lpd.perms ]; then
28            chmod +x /usr/lib/gutenbach/rm/revert_lpd.perms
29            /usr/lib/gutenbach/rm/revert_lpd.perms
30        fi
31
32        if [ -e /usr/lib/gutenbach/rm/revert_printcap ]; then
33            chmod +x /usr/lib/gutenbach/rm/revert_printcap
34            /usr/lib/gutenbach/rm/revert_printcap
35        fi
36    ;;
37
38    failed-upgrade)
39    ;;
40
41    *)
42        echo "prerm called with unknown argument \`$1'" >&2
43        exit 1
44    ;;
45esac
46
47# dh_installdeb will replace this with shell code automatically
48# generated by other debhelper scripts.
49
50#DEBHELPER#
51
52exit 0
Note: See TracBrowser for help on using the repository browser.