~ubuntu-branches/ubuntu/raring/ceph/raring

« back to all changes in this revision

Viewing changes to debian/libcephfs1.postinst

  • Committer: Package Import Robot
  • Author(s): James Page
  • Date: 2012-09-12 10:36:57 UTC
  • Revision ID: package-import@ubuntu.com-20120912103657-g01wg8aql3ic6yo2
Tags: 0.48.1-0ubuntu2
* Remove manual calls to ldconfig (LP: #1017978):
  - d/lib{rados2|rbd1|cephfs1}.post*: Dropped - all these do is call
    ldconfig which will automatically be done. 
  - d/rules: Let dh_makeshlibs do its magic with postinst/postrm
    scripts but ensure that the .so's in ceph package are excluded.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/sh
2
 
#
3
 
# see: dh_installdeb(1)
4
 
 
5
 
set -e
6
 
 
7
 
# summary of how this script can be called:
8
 
#        * <postinst> `configure' <most-recently-configured-version>
9
 
#        * <old-postinst> `abort-upgrade' <new version>
10
 
#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
11
 
#          <new-version>
12
 
#        * <postinst> `abort-remove'
13
 
#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
14
 
#          <failed-install-package> <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
 
 
20
 
case "$1" in
21
 
    configure)
22
 
        ldconfig
23
 
    ;;
24
 
 
25
 
    abort-upgrade|abort-remove|abort-deconfigure)
26
 
    ;;
27
 
 
28
 
    *)
29
 
        echo "postinst called with unknown argument \`$1'" >&2
30
 
        exit 1
31
 
    ;;
32
 
esac
33
 
 
34
 
# dh_installdeb will replace this with shell code automatically
35
 
# generated by other debhelper scripts.
36
 
 
37
 
#DEBHELPER#
38
 
 
39
 
exit 0
40
 
 
41