diff options
author | cvs2svn | 2005-06-10 10:29:11 +0000 |
---|---|---|
committer | cvs2svn | 2005-06-10 10:29:11 +0000 |
commit | 960cdf29197bc3f5922110cf26627aa9709ac79b (patch) | |
tree | 7d6e4a472376b203d21826c2230b4a8c6a9024bd /debian/zinc-python.postinst | |
parent | 3fc9c4bc1d6f70db41ad418992bf3d461059d3c0 (diff) | |
download | tkzinc-960cdf29197bc3f5922110cf26627aa9709ac79b.zip tkzinc-960cdf29197bc3f5922110cf26627aa9709ac79b.tar.gz tkzinc-960cdf29197bc3f5922110cf26627aa9709ac79b.tar.bz2 tkzinc-960cdf29197bc3f5922110cf26627aa9709ac79b.tar.xz |
This commit was manufactured by cvs2svn to create branch 'bogue40'.
Diffstat (limited to 'debian/zinc-python.postinst')
-rw-r--r-- | debian/zinc-python.postinst | 23 |
1 files changed, 0 insertions, 23 deletions
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 <flight@debian.org> -# - -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 |