From 22efe91ae5de78d47bc30d1296b2a61a7fc8a72b Mon Sep 17 00:00:00 2001 From: ccsmart Date: Tue, 9 Aug 2005 17:55:13 +0000 Subject: Delete /var/spool/postfix directory created by useradd to let volatile assign the correct permissions. --- packages/postfix/postfix_2.0.20.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'packages/postfix') diff --git a/packages/postfix/postfix_2.0.20.bb b/packages/postfix/postfix_2.0.20.bb index f5c22c1139..a23ac2f3e2 100644 --- a/packages/postfix/postfix_2.0.20.bb +++ b/packages/postfix/postfix_2.0.20.bb @@ -1,7 +1,7 @@ SECTION = "console/network" DEPENDS = "db3 pcre postfix-native" LICENSE = "IPL" -PR = "r2" +PR = "r3" SRC_URI = "ftp://ftp.porcupine.org/mirrors/postfix-release/official/postfix-${PV}.tar.gz \ file://${FILESDIR}/makedefs.patch;patch=1 \ @@ -51,6 +51,7 @@ pkg_postinst () { chmod g+s /usr/sbin/postdrop /var/tmp/main_cf.sh >/etc/postfix/main.cf chmod 644 /etc/postfix/main.cf + [ -d /var/spool/postfix ] && rmdir /var/spool/postfix /etc/init.d/populate-volatile.sh touch /etc/aliases newaliases -- cgit v1.2.3