X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=debian%2Fpostinst;h=8cb20a6746cf52f1ee98f1d639e83099cab71121;hb=8624550fce6043ebb31ed8800550aa8a11c4dd44;hp=8d1001c35a304d23ee9024751fc1e9612f7d5329;hpb=f05e3f012ab49da19dcd43d29d523e58b20979a8;p=mirror%2Fuserdir-ldap.git diff --git a/debian/postinst b/debian/postinst index 8d1001c..8cb20a6 100644 --- a/debian/postinst +++ b/debian/postinst @@ -4,7 +4,7 @@ # Written by Gregor Hoffleit # -PYTHON_VER="2.1" +PYTHON_VER="2.4" DIRLIST="/usr/lib/python$PYTHON_VER/site-packages" case "$1" in @@ -20,3 +20,8 @@ case "$1" in exit 1 ;; esac + +if [ "$1" = "configure" ] +then + test ! -f /usr/local/bin/ud-replicate || rm -f /usr/local/bin/ud-replicate +fi