Dodatna prilagodba paketa, Lintian fixevi.
[squirrelmail-change-pass.git] / debian / postrm
index a48df6e..3118001 100644 (file)
@@ -1,14 +1,16 @@
-#!/bin/sh -e
+#!/bin/sh
+
+set -e
 
-# Source debconf library.
 case "$1" in
-       remove)
-               if [ -x /usr/sbin/squirrelmail-configure ]; then
-                       /usr/sbin/squirrelmail-configure --remove-plugin change_pass
-               fi
-       ;;
-       *)
-       ;;
+    remove)
+        if [ `which squirrelmail-configure` ]
+        then
+            squirrelmail-configure --remove-plugin change_pass
+        fi
+    ;;
+    *)
+    ;;
 esac
 
 #DEBHELPER#