]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
Move preinst to postinst, rspamd does not need anything in preinst
authorMikhail Gusarov <dottedmag@dottedmag.net>
Sat, 22 Feb 2014 23:52:50 +0000 (00:52 +0100)
committerMikhail Gusarov <dottedmag@dottedmag.net>
Sat, 22 Feb 2014 23:52:50 +0000 (00:52 +0100)
debian/postinst [moved from debian/preinst with 89% similarity]

similarity index 89%
rename from debian/preinst
rename to debian/postinst
index 60eb3c400f991cf4bfa17a7dac58924438dd65c2..a5c88db5bd3bd1c4b16367b48681fd983b44f0b5 100644 (file)
@@ -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
@@ -36,11 +35,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