* some cleanup and debian code beautification (tab/space/indentation)
[citadel.git] / citadel / debian / citadel-mta.postinst
index 1191b5d56b2dd751b4e743f08f2e692108083a6e..84353c47361954ae0754140f4a856bf96c62603d 100644 (file)
@@ -1,16 +1,23 @@
-#! /bin/sh
+#!/bin/sh
+# postinst script for citadel-mta
+
 set -e
 
 case "$1" in
-  configure)
-       chown root:citadel /usr/sbin/sendmail
-       chmod 04755 /usr/sbin/sendmail
-       ;;
-  abort-upgrade|abort-remove|abort-deconfigure)
+    configure)
+        chown root:citadel /usr/sbin/sendmail
+        chmod 4755 /usr/sbin/sendmail
+    ;;
+
+    abort-upgrade|abort-remove|abort-deconfigure)
+    ;;
+
+    *)
+        echo "postinst called with unknown argument \`$1'" >&2
+        exit 1
     ;;
-  *) echo "$0: didn't understand being called with \`$1'" 1>&2
-     exit 0;;
 esac
 
 #DEBHELPER#
+
 exit 0