X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=debian%2Fpostinst;h=e74847343350d070f9bc1aea3ab1c33ceb4f96f7;hb=fe66cb2a8ed7feb74119e353625d48a6a3fcff41;hp=cafa8f5ddf7cc7698e1d279016e2760aea93893b;hpb=4200d8214bfed7f8e729a7ad45f15aa28edaca09;p=mirror%2Fuserdir-ldap.git diff --git a/debian/postinst b/debian/postinst index cafa8f5..e748473 100644 --- a/debian/postinst +++ b/debian/postinst @@ -1,27 +1,8 @@ #! /bin/bash -e # -# Debian postinst script for Python hierarchical modules -# Written by Gregor Hoffleit -# - -PYTHON_VER="2.1" -DIRLIST="/usr/lib/python$PYTHON_VER/site-packages" - -case "$1" in - configure|abort-upgrade|abort-remove|abort-deconfigure) - for i in $DIRLIST ; do - python -O /usr/lib/python$PYTHON_VER/compileall.py -q $i - python /usr/lib/python$PYTHON_VER/compileall.py -q $i - done - ;; - - *) - echo "postinst called with unknown argument \`$1'" >&2 - exit 1 - ;; -esac - +#DEBHELPER# if [ "$1" = "configure" ] then test ! -f /usr/local/bin/ud-replicate || rm -f /usr/local/bin/ud-replicate fi +exit 0