aboutsummaryrefslogtreecommitdiffstats
path: root/debian/fuse-python.postinst
diff options
context:
space:
mode:
Diffstat (limited to 'debian/fuse-python.postinst')
-rw-r--r--debian/fuse-python.postinst31
1 files changed, 0 insertions, 31 deletions
diff --git a/debian/fuse-python.postinst b/debian/fuse-python.postinst
deleted file mode 100644
index 8afbe69..0000000
--- a/debian/fuse-python.postinst
+++ /dev/null
@@ -1,31 +0,0 @@
-#! /bin/sh -e
-#
-# postinst script for Debian python packages.
-# Written 1998 by Gregor Hoffleit <flight@debian.org>.
-# Modified 2001 by Matthias Klose <doko@debian.org>
-
-PACKAGE=`basename $0 .postinst`
-PV=`dpkg --listfiles $PACKAGE | sed -n -e '/^\/usr\/lib\/python.*\//{
- s,/usr/lib/python\([0-9][0-9.]*\)/.*,\1,p
- q
-}'`
-PYTHON=python$PV
-DIRLIST="/usr/lib/python$PV/site-packages/extension"
-
-case "$1" in
- configure|abort-upgrade|abort-remove|abort-deconfigure)
- for i in $DIRLIST ; do
- /usr/bin/$PYTHON -O /usr/lib/python$PV/compileall.py -q $i
- /usr/bin/$PYTHON /usr/lib/python$PV/compileall.py -q $i
- done
- ;;
-
- *)
- echo "postinst called with unknown argument \`$1'" >&2
- exit 1
- ;;
-esac
-
-#DEBHELPER#
-
-exit 0