summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorccsmart <ccsmart@smartpal.de>2005-08-09 17:55:13 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-08-09 17:55:13 +0000
commit22efe91ae5de78d47bc30d1296b2a61a7fc8a72b (patch)
treef99536ee84f0f4e3aee48d80f2837cb6b3cbb68c
parentaed625f53496577a7e5f8ef50161e26148a4b918 (diff)
Delete /var/spool/postfix directory created by useradd to let volatile assign the correct permissions.
-rw-r--r--packages/postfix/postfix_2.0.20.bb3
1 files changed, 2 insertions, 1 deletions
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