/[svn]/libgig/trunk/debian/postrm
ViewVC logotype

Contents of /libgig/trunk/debian/postrm

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2589 - (show annotations) (download)
Sun Jun 1 18:32:03 2014 UTC (6 years, 2 months ago) by schoenebeck
File size: 1018 byte(s)
* Debian: Fixed packaging regarding libgig's new libdir.

1 #!/bin/sh
2 # postrm script for libgig
3 #
4 # see: dh_installdeb(1)
5
6 set -e
7
8 # summary of how this script can be called:
9 # * <postrm> `remove'
10 # * <postrm> `purge'
11 # * <old-postrm> `upgrade' <new-version>
12 # * <new-postrm> `failed-upgrade' <old-version>
13 # * <new-postrm> `abort-install'
14 # * <new-postrm> `abort-install' <old-version>
15 # * <new-postrm> `abort-upgrade' <old-version>
16 # * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version>
17 # for details, see http://www.debian.org/doc/debian-policy/ or
18 # the debian-policy package
19
20
21 case "$1" in
22 purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
23
24 sed < /etc/ld.so.conf > /etc/ld.so.conf.2 '/libgig/d'
25 mv /etc/ld.so.conf.2 /etc/ld.so.conf
26 ldconfig
27 ;;
28
29 *)
30 echo "postrm called with unknown argument \`$1'" >&2
31 exit 1
32
33 esac
34
35 # dh_installdeb will replace this with shell code automatically
36 # generated by other debhelper scripts.
37
38 #DEBHELPER#
39
40 exit 0

  ViewVC Help
Powered by ViewVC