From e6a05dbef707dc10e546ef8fef8fc2a8b7d805bf Mon Sep 17 00:00:00 2001 From: cvs2svn Date: Mon, 24 Jan 2005 15:46:33 +0000 Subject: This commit was manufactured by cvs2svn to create branch 'POSTSCRIPT'. --- debian/zinc-python.postinst | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 debian/zinc-python.postinst (limited to 'debian/zinc-python.postinst') diff --git a/debian/zinc-python.postinst b/debian/zinc-python.postinst deleted file mode 100644 index 0f85b0a..0000000 --- a/debian/zinc-python.postinst +++ /dev/null @@ -1,23 +0,0 @@ -#! /bin/bash -e -# -# Debian postinst script for Python hierarchical modules -# Written by Gregor Hoffleit -# - -NAME=zinc-python -DEFAULT_VERSION_PYTHON=`dpkg -p python| grep -e "^Version:" |cut -d" " -f2|cut -d"." -f1-2` -DIRLIST="/usr/lib/python${DEFAULT_VERSION_PYTHON}/site-packages" - -case "$1" in - configure|abort-upgrade|abort-remove|abort-deconfigure) - for i in $DIRLIST ; do - python -O /usr/lib/python${DEFAULT_VERSION_PYTHON}/compileall.py -q $i - python /usr/lib/python${DEFAULT_VERSION_PYTHON}/compileall.py -q $i - done - ;; - - *) - echo "postinst called with unknown argument \`$1'" >&2 - exit 1 - ;; -esac -- cgit v1.1