1.1 --- a/packages/ubuntu-gutsy/python-astgrep/debian/python-astgrep.postinst Mon Oct 27 00:56:19 2008 +0100
1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
1.3 @@ -1,43 +0,0 @@
1.4 -#! /bin/sh
1.5 -# postinst script for python-astgrep
1.6 -#
1.7 -# see: dh_installdeb(1)
1.8 -
1.9 -set -e
1.10 -
1.11 -# summary of how this script can be called:
1.12 -# * <postinst> `configure' <most-recently-configured-version>
1.13 -# * <old-postinst> `abort-upgrade' <new version>
1.14 -# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
1.15 -# <new-version>
1.16 -# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
1.17 -# <failed-install-package> <version> `removing'
1.18 -# <conflicting-package> <version>
1.19 -# for details, see http://www.debian.org/doc/debian-policy/ or
1.20 -# the debian-policy package
1.21 -#
1.22 -# quoting from the policy:
1.23 -# Any necessary prompting should almost always be confined to the
1.24 -# post-installation script, and should be protected with a conditional
1.25 -# so that unnecessary prompting doesn't happen if a package's
1.26 -# installation fails and the `postinst' is called with `abort-upgrade',
1.27 -# `abort-remove' or `abort-deconfigure'.
1.28 -
1.29 -PACKAGE=python-astgrep
1.30 -
1.31 -case "$1" in
1.32 - configure|abort-upgrade|abort-remove|abort-deconfigure)
1.33 - chmod ugo+rx /usr/bin/astgrep
1.34 - ;;
1.35 -
1.36 - *)
1.37 - echo "postinst called with unknown argument \`$1'" >&2
1.38 - exit 1
1.39 - ;;
1.40 -esac
1.41 -
1.42 -
1.43 -
1.44 -exit 0
1.45 -
1.46 -
2.1 --- a/packages/ubuntu-gutsy/python-astgrep/debian/python-astgrep.prerm Mon Oct 27 00:56:19 2008 +0100
2.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
2.3 @@ -1,20 +0,0 @@
2.4 -#! /bin/sh
2.5 -# prerm script for python-astgrep
2.6 -
2.7 -set -e
2.8 -
2.9 -PACKAGE=python-astgrep
2.10 -
2.11 -case "$1" in
2.12 - remove|upgrade|failed-upgrade)
2.13 - ;;
2.14 -
2.15 - *)
2.16 - echo "prerm called with unknown argument \`$1'" >&2
2.17 - exit 1
2.18 - ;;
2.19 -esac
2.20 -
2.21 -
2.22 -
2.23 -exit 0