Beginning of the transition to Python in etch
[mirror/userdir-ldap.git] / debian / postinst
index 8d1001c..8cb20a6 100644 (file)
@@ -4,7 +4,7 @@
 # Written by Gregor Hoffleit <flight@debian.org>
 #
 
-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