debian/canfestival-peak.postinst
author etisserant
Mon, 28 Apr 2008 11:20:19 +0200
changeset 450 dff8cc600cba
parent 346 59dbdcc99264
child 533 4d50417dab22
permissions -rw-r--r--
Fixed typo in objaccess.c. Thanks to James
346
59dbdcc99264 add debian directory to create debian binary packages
greg
parents:
diff changeset
     1
#!/bin/sh
59dbdcc99264 add debian directory to create debian binary packages
greg
parents:
diff changeset
     2
# postinst script for canfestival
59dbdcc99264 add debian directory to create debian binary packages
greg
parents:
diff changeset
     3
#
59dbdcc99264 add debian directory to create debian binary packages
greg
parents:
diff changeset
     4
# see: dh_installdeb(1)
59dbdcc99264 add debian directory to create debian binary packages
greg
parents:
diff changeset
     5
59dbdcc99264 add debian directory to create debian binary packages
greg
parents:
diff changeset
     6
set -e
59dbdcc99264 add debian directory to create debian binary packages
greg
parents:
diff changeset
     7
59dbdcc99264 add debian directory to create debian binary packages
greg
parents:
diff changeset
     8
# summary of how this script can be called:
59dbdcc99264 add debian directory to create debian binary packages
greg
parents:
diff changeset
     9
#        * <postinst> `configure' <most-recently-configured-version>
59dbdcc99264 add debian directory to create debian binary packages
greg
parents:
diff changeset
    10
#        * <old-postinst> `abort-upgrade' <new version>
59dbdcc99264 add debian directory to create debian binary packages
greg
parents:
diff changeset
    11
#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
59dbdcc99264 add debian directory to create debian binary packages
greg
parents:
diff changeset
    12
#          <new-version>
59dbdcc99264 add debian directory to create debian binary packages
greg
parents:
diff changeset
    13
#        * <postinst> `abort-remove'
59dbdcc99264 add debian directory to create debian binary packages
greg
parents:
diff changeset
    14
#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
59dbdcc99264 add debian directory to create debian binary packages
greg
parents:
diff changeset
    15
#          <failed-install-package> <version> `removing'
59dbdcc99264 add debian directory to create debian binary packages
greg
parents:
diff changeset
    16
#          <conflicting-package> <version>
59dbdcc99264 add debian directory to create debian binary packages
greg
parents:
diff changeset
    17
# for details, see http://www.debian.org/doc/debian-policy/ or
59dbdcc99264 add debian directory to create debian binary packages
greg
parents:
diff changeset
    18
# the debian-policy package
59dbdcc99264 add debian directory to create debian binary packages
greg
parents:
diff changeset
    19
59dbdcc99264 add debian directory to create debian binary packages
greg
parents:
diff changeset
    20
59dbdcc99264 add debian directory to create debian binary packages
greg
parents:
diff changeset
    21
case "$1" in
59dbdcc99264 add debian directory to create debian binary packages
greg
parents:
diff changeset
    22
    configure)
59dbdcc99264 add debian directory to create debian binary packages
greg
parents:
diff changeset
    23
	ldconfig    
59dbdcc99264 add debian directory to create debian binary packages
greg
parents:
diff changeset
    24
	;;
59dbdcc99264 add debian directory to create debian binary packages
greg
parents:
diff changeset
    25
	
59dbdcc99264 add debian directory to create debian binary packages
greg
parents:
diff changeset
    26
    abort-upgrade|abort-remove|abort-deconfigure)
59dbdcc99264 add debian directory to create debian binary packages
greg
parents:
diff changeset
    27
    ;;
59dbdcc99264 add debian directory to create debian binary packages
greg
parents:
diff changeset
    28
59dbdcc99264 add debian directory to create debian binary packages
greg
parents:
diff changeset
    29
    *)
59dbdcc99264 add debian directory to create debian binary packages
greg
parents:
diff changeset
    30
        echo "postinst called with unknown argument \`$1'" >&2
59dbdcc99264 add debian directory to create debian binary packages
greg
parents:
diff changeset
    31
        exit 1
59dbdcc99264 add debian directory to create debian binary packages
greg
parents:
diff changeset
    32
    ;;
59dbdcc99264 add debian directory to create debian binary packages
greg
parents:
diff changeset
    33
esac
59dbdcc99264 add debian directory to create debian binary packages
greg
parents:
diff changeset
    34
59dbdcc99264 add debian directory to create debian binary packages
greg
parents:
diff changeset
    35
# dh_installdeb will replace this with shell code automatically
59dbdcc99264 add debian directory to create debian binary packages
greg
parents:
diff changeset
    36
# generated by other debhelper scripts.
59dbdcc99264 add debian directory to create debian binary packages
greg
parents:
diff changeset
    37
59dbdcc99264 add debian directory to create debian binary packages
greg
parents:
diff changeset
    38
#DEBHELPER#
59dbdcc99264 add debian directory to create debian binary packages
greg
parents:
diff changeset
    39
59dbdcc99264 add debian directory to create debian binary packages
greg
parents:
diff changeset
    40
exit 0
59dbdcc99264 add debian directory to create debian binary packages
greg
parents:
diff changeset
    41
59dbdcc99264 add debian directory to create debian binary packages
greg
parents:
diff changeset
    42