From: joey <> Date: Thu, 18 Nov 2004 16:57:50 +0000 (+0000) Subject: Remove old ud-replicate script if there is one X-Git-Tag: debian_userdir-ldap_0-3-7~2 X-Git-Url: https://git.adam-barratt.org.uk/?p=mirror%2Fuserdir-ldap.git;a=commitdiff_plain;h=4200d8214bfed7f8e729a7ad45f15aa28edaca09 Remove old ud-replicate script if there is one --- diff --git a/debian/postinst b/debian/postinst index 8d1001c..cafa8f5 100644 --- a/debian/postinst +++ b/debian/postinst @@ -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