]> source.dussan.org Git - rspamd.git/commitdiff
Create dbdir for rspamd in debian package
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 17 Dec 2015 18:28:56 +0000 (18:28 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 17 Dec 2015 18:28:56 +0000 (18:28 +0000)
debian/postinst

index 8d96fcb18e74f3c1491aa2db04a58a12e749b62b..374209ce7e4d435f0da2d4e46d87c8f4c8014865 100644 (file)
@@ -16,7 +16,7 @@ case "$1" in
                --gecos "rspamd spam filtering system" \
                --force-badname \
                $SERVER_USER
-
+       mkdir -p $SERVER_HOME $SERVER_LOG || true
        chown $SERVER_USER: $SERVER_HOME $SERVER_LOG
     ;;