# HG changeset patch # User Paul Boddie # Date 1225064927 -3600 # Node ID ade25eaf0d28baf55e312bb3b95ae62b16173cd8 # Parent c862266f216bbba71b5d2b8b66ace1db28469058 Renamed according to the revised package name. diff -r c862266f216b -r ade25eaf0d28 packages/ubuntu-gutsy/python-astgrep/debian/astgrep.install --- a/packages/ubuntu-gutsy/python-astgrep/debian/astgrep.install Mon Oct 27 00:44:45 2008 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -scripts/astgrep usr/bin/ diff -r c862266f216b -r ade25eaf0d28 packages/ubuntu-gutsy/python-astgrep/debian/astgrep.postinst --- a/packages/ubuntu-gutsy/python-astgrep/debian/astgrep.postinst Mon Oct 27 00:44:45 2008 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,43 +0,0 @@ -#! /bin/sh -# postinst script for python-astgrep -# -# see: dh_installdeb(1) - -set -e - -# summary of how this script can be called: -# * `configure' -# * `abort-upgrade' -# * `abort-remove' `in-favour' -# -# * `abort-deconfigure' `in-favour' -# `removing' -# -# for details, see http://www.debian.org/doc/debian-policy/ or -# the debian-policy package -# -# quoting from the policy: -# Any necessary prompting should almost always be confined to the -# post-installation script, and should be protected with a conditional -# so that unnecessary prompting doesn't happen if a package's -# installation fails and the `postinst' is called with `abort-upgrade', -# `abort-remove' or `abort-deconfigure'. - -PACKAGE=python-astgrep - -case "$1" in - configure|abort-upgrade|abort-remove|abort-deconfigure) - chmod ugo+rx /usr/bin/astgrep - ;; - - *) - echo "postinst called with unknown argument \`$1'" >&2 - exit 1 - ;; -esac - - - -exit 0 - - diff -r c862266f216b -r ade25eaf0d28 packages/ubuntu-gutsy/python-astgrep/debian/astgrep.prerm --- a/packages/ubuntu-gutsy/python-astgrep/debian/astgrep.prerm Mon Oct 27 00:44:45 2008 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,20 +0,0 @@ -#! /bin/sh -# prerm script for python-astgrep - -set -e - -PACKAGE=python-astgrep - -case "$1" in - remove|upgrade|failed-upgrade) - ;; - - *) - echo "prerm called with unknown argument \`$1'" >&2 - exit 1 - ;; -esac - - - -exit 0 diff -r c862266f216b -r ade25eaf0d28 packages/ubuntu-gutsy/python-astgrep/debian/python-astgrep.install --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/packages/ubuntu-gutsy/python-astgrep/debian/python-astgrep.install Mon Oct 27 00:48:47 2008 +0100 @@ -0,0 +1,1 @@ +scripts/astgrep usr/bin/ diff -r c862266f216b -r ade25eaf0d28 packages/ubuntu-gutsy/python-astgrep/debian/python-astgrep.postinst --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/packages/ubuntu-gutsy/python-astgrep/debian/python-astgrep.postinst Mon Oct 27 00:48:47 2008 +0100 @@ -0,0 +1,43 @@ +#! /bin/sh +# postinst script for python-astgrep +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-deconfigure' `in-favour' +# `removing' +# +# for details, see http://www.debian.org/doc/debian-policy/ or +# the debian-policy package +# +# quoting from the policy: +# Any necessary prompting should almost always be confined to the +# post-installation script, and should be protected with a conditional +# so that unnecessary prompting doesn't happen if a package's +# installation fails and the `postinst' is called with `abort-upgrade', +# `abort-remove' or `abort-deconfigure'. + +PACKAGE=python-astgrep + +case "$1" in + configure|abort-upgrade|abort-remove|abort-deconfigure) + chmod ugo+rx /usr/bin/astgrep + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + + + +exit 0 + + diff -r c862266f216b -r ade25eaf0d28 packages/ubuntu-gutsy/python-astgrep/debian/python-astgrep.prerm --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/packages/ubuntu-gutsy/python-astgrep/debian/python-astgrep.prerm Mon Oct 27 00:48:47 2008 +0100 @@ -0,0 +1,20 @@ +#! /bin/sh +# prerm script for python-astgrep + +set -e + +PACKAGE=python-astgrep + +case "$1" in + remove|upgrade|failed-upgrade) + ;; + + *) + echo "prerm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + + + +exit 0