aboutsummaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
authorMikhail Gusarov <dottedmag@dottedmag.net>2014-02-23 00:52:50 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2014-02-24 13:16:42 +0000
commiteec81891c4d911af1a9b0afbc2ebe4f5cd445ce5 (patch)
tree9325cf64aeb790d8517b023c8591cf2545d559d5 /debian
parent3fd1a501691b5cb27c17a9354d49db52cf13c4a6 (diff)
downloadrspamd-eec81891c4d911af1a9b0afbc2ebe4f5cd445ce5.tar.gz
rspamd-eec81891c4d911af1a9b0afbc2ebe4f5cd445ce5.zip
Move preinst to postinst, rspamd does not need anything in preinst
Diffstat (limited to 'debian')
-rw-r--r--debian/postinst (renamed from debian/preinst)7
1 files changed, 3 insertions, 4 deletions
diff --git a/debian/preinst b/debian/postinst
index 3588f2f5b..b10ca9c24 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