# HG changeset patch # User Paul Boddie # Date 1225066383 -3600 # Node ID 4cfc14cfd331d86da743034b903f3918142504f2 # Parent d3feedc1cae99a94ce8f6721dd70e5f95e142f7f Remove redundant scripts. diff -r d3feedc1cae9 -r 4cfc14cfd331 packages/ubuntu-gutsy/python-astgrep/debian/python-astgrep.postinst --- a/packages/ubuntu-gutsy/python-astgrep/debian/python-astgrep.postinst Mon Oct 27 00:56:19 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 d3feedc1cae9 -r 4cfc14cfd331 packages/ubuntu-gutsy/python-astgrep/debian/python-astgrep.prerm --- a/packages/ubuntu-gutsy/python-astgrep/debian/python-astgrep.prerm Mon Oct 27 00:56:19 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