From: Mikhail Gusarov Date: Sat, 22 Feb 2014 23:52:50 +0000 (+0100) Subject: Move preinst to postinst, rspamd does not need anything in preinst X-Git-Tag: 0.7.0~386 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eec81891c4d911af1a9b0afbc2ebe4f5cd445ce5;p=thirdparty%2Frspamd.git Move preinst to postinst, rspamd does not need anything in preinst --- diff --git a/debian/preinst b/debian/postinst similarity index 93% rename from debian/preinst rename to debian/postinst index 3588f2f5bd..b10ca9c247 100644 --- a/debian/preinst +++ b/debian/postinst @@ -1,11 +1,10 @@ #!/bin/sh -# preinst script for rspamd #DEBHELPER# set -e case "$1" in - install) + configure) SERVER_HOME=/var/lib/rspamd SERVER_RUN=/var/run/rspamd SERVER_LOG=/var/log/rspamd @@ -58,11 +57,11 @@ case "$1" in fi ;; - abort-upgrade|upgrade) + abort-*) ;; *) - echo "preinst called with unknown argument \`$1'" >&2 + echo "postinst called with unknown argument \`$1'" >&2 exit 1 ;; esac