From: rmurray <> Date: Wed, 19 Mar 2003 01:41:02 +0000 (+0000) Subject: use the right version of python in the maintainer scripts X-Git-Tag: debian_userdir-ldap_0-3-7~69 X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=f05e3f012ab49da19dcd43d29d523e58b20979a8;hp=44c3064f527a896dc394e527d94e4646afe21365;p=mirror%2Fuserdir-ldap.git use the right version of python in the maintainer scripts --- diff --git a/debian/changelog b/debian/changelog index 07d47a5..2c35f86 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +userdir-ldap (0.3.4) unstable; urgency=low + + * Use the right python version in the maintainer scripts + + -- Ryan Murray Tue, 18 Mar 2003 19:26:31 -0700 + userdir-ldap (0.3.3) unstable; urgency=low * Rebuild for python2.1 and woody diff --git a/debian/postinst b/debian/postinst index f4d07c7..8d1001c 100644 --- a/debian/postinst +++ b/debian/postinst @@ -1,17 +1,17 @@ #! /bin/bash -e # -# Debian postinst script for Python 1.5 hierarchical modules +# Debian postinst script for Python hierarchical modules # Written by Gregor Hoffleit # -NAME=userdir-ldap -DIRLIST="/usr/lib/python1.5/site-packages" +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/python1.5/compileall.py -q $i - python /usr/lib/python1.5/compileall.py -q $i + python -O /usr/lib/python$PYTHON_VER/compileall.py -q $i + python /usr/lib/python$PYTHON_VER/compileall.py -q $i done ;; diff --git a/debian/prerm b/debian/prerm index 57e3259..d300f6c 100644 --- a/debian/prerm +++ b/debian/prerm @@ -1,6 +1,6 @@ #! /bin/bash -e # -# Debian prerm script for Python 1.5 hierarchical modules +# Debian prerm script for Python hierarchical modules # Written by Gregor Hoffleit #