From 166a61cbccd413c91b91c10df7808004b160d2b1 Mon Sep 17 00:00:00 2001 From: Mikhail Gusarov Date: Sun, 23 Feb 2014 00:57:37 +0100 Subject: [PATCH] Ship /var/{lib,log}/rspamd in package --- debian/dirs | 2 ++ debian/postinst | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 debian/dirs diff --git a/debian/dirs b/debian/dirs new file mode 100644 index 000000000..33f9176bb --- /dev/null +++ b/debian/dirs @@ -0,0 +1,2 @@ +var/lib/rspamd +var/log/rspamd diff --git a/debian/postinst b/debian/postinst index a5c88db5b..bfd3a53c4 100644 --- a/debian/postinst +++ b/debian/postinst @@ -21,9 +21,7 @@ case "$1" in $SERVER_USER # 2. create homedir if not existing - test -d $SERVER_HOME || mkdir $SERVER_HOME test -d $SERVER_RUN || mkdir $SERVER_RUN - test -d $SERVER_LOG || mkdir $SERVER_LOG # 5. adjust file and directory permissions if ! dpkg-statoverride --list $SERVER_HOME >/dev/null -- 2.39.5