chiark / gitweb /
finalise changelog
[authbind.git] / debian / postinst
index 40eb20eeff068be176fabb47f5aa7731853d59db..cb0712002d4a0b24ef06e591edc150a1d7d77f8d 100644 (file)
@@ -1,8 +1,9 @@
 #!/bin/sh
+
 if [ "$1" = "configure" ]; then
-  if [ -d /usr/doc -a ! -e /usr/doc/authbind -a -d /usr/share/doc/authbind ];
-  then
-    ln -sf ../share/doc/authbind /usr/doc/authbind
-  fi
+        if [ -d /usr/doc -a -h /usr/doc/authbind -a -d /usr/share/doc/authbind ]; then
+                rm -f /usr/doc/authbind
+        fi
 fi
 
+