~ubuntu-branches/debian/squeeze/protobuf/squeeze

« back to all changes in this revision

Viewing changes to debian/libprotobuf0.postrm

  • Committer: Bazaar Package Importer
  • Author(s): Julien Cristau
  • Date: 2009-06-02 16:19:00 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20090602161900-vm176i3ryt35yk91
Tags: 2.0.3-2.2
* Non-maintainer upload.
* Fix FTBFS from -2.1: don't fail when we can't clean up the java build,
  such as when openjdk isn't installed.
* Disable parallel builds, because libtool is made of fail (if binary-arch
  and build-indep run concurrently, we relink a library while it's being
  used; that doesn't work so well).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/sh
2
 
# postrm script for indep
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' <overwriter>
17
 
#          <overwriter-version>
18
 
# for details, see http://www.debian.org/doc/debian-policy/ or
19
 
# the debian-policy package
20
 
 
21
 
 
22
 
case "$1" in
23
 
    remove)
24
 
        ldconfig
25
 
        ;;
26
 
    purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
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