[Pkg-voip-commits] r2170 - asterisk/branches/sarge/debian
Kilian Krause
kilian at costa.debian.org
Thu Aug 3 10:08:47 UTC 2006
Author: kilian
Date: 2006-08-03 10:08:47 +0000 (Thu, 03 Aug 2006)
New Revision: 2170
Added:
asterisk/branches/sarge/debian/asterisk-config.postinst
Log:
readd wrongly deleted postinst
Added: asterisk/branches/sarge/debian/asterisk-config.postinst
===================================================================
--- asterisk/branches/sarge/debian/asterisk-config.postinst 2006-08-03 10:07:03 UTC (rev 2169)
+++ asterisk/branches/sarge/debian/asterisk-config.postinst 2006-08-03 10:08:47 UTC (rev 2170)
@@ -0,0 +1,37 @@
+#! /bin/sh
+
+set -e
+
+# summary of how this script can be called:
+# * <postinst> `configure' <most-recently-configured-version>
+# * <old-postinst> `abort-upgrade' <new version>
+# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
+# <new-version>
+# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
+# <failed-install-package> <version> `removing'
+# <conflicting-package> <version>
+
+case "$1" in
+ configure)
+ if [ -x /usr/share/asterisk/bin/asterisk_fix ]; then
+ /usr/share/asterisk/bin/asterisk_fix
+ fi
+ ;;
+
+ abort-upgrade|abort-remove|abort-deconfigure)
+ ;;
+
+ *)
+ echo "postinst called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+
More information about the Pkg-voip-commits
mailing list