Move to sarge, i.e. depend on python 2.3
[mirror/userdir-ldap.git] / debian / postinst
index 8d1001c..7905b7c 100644 (file)
@@ -4,7 +4,7 @@
 # Written by Gregor Hoffleit <flight@debian.org>
 #
 
-PYTHON_VER="2.1"
+PYTHON_VER="2.3"
 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