X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fdebian%2Fcitadel-mta.postinst;h=84353c47361954ae0754140f4a856bf96c62603d;hb=736a9a525613ad7849515c5b5e03b4c1cc3cac0e;hp=1191b5d56b2dd751b4e743f08f2e692108083a6e;hpb=5b9a32caacdbf1a54cdf4fb361d7dd79ca50a323;p=citadel.git diff --git a/citadel/debian/citadel-mta.postinst b/citadel/debian/citadel-mta.postinst index 1191b5d56..84353c473 100644 --- a/citadel/debian/citadel-mta.postinst +++ b/citadel/debian/citadel-mta.postinst @@ -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