projects
/
mirror
/
userdir-ldap.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
new field support for ud-info, new anti-spam related mail fields
[mirror/userdir-ldap.git]
/
debian
/
postinst
diff --git
a/debian/postinst
b/debian/postinst
index
8d1001c
..
7905b7c
100644
(file)
--- a/
debian/postinst
+++ b/
debian/postinst
@@
-4,7
+4,7
@@
# Written by Gregor Hoffleit <flight@debian.org>
#
# 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
DIRLIST="/usr/lib/python$PYTHON_VER/site-packages"
case "$1" in
@@
-20,3
+20,8
@@
case "$1" in
exit 1
;;
esac
exit 1
;;
esac
+
+if [ "$1" = "configure" ]
+then
+ test ! -f /usr/local/bin/ud-replicate || rm -f /usr/local/bin/ud-replicate
+fi