From: ccsmart Date: Tue, 9 Aug 2005 17:55:13 +0000 (+0000) Subject: Delete /var/spool/postfix directory created by useradd to let volatile assign the... X-Git-Tag: Release-2010-05/1~9453^2~3920^2~31 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=22efe91ae5de78d47bc30d1296b2a61a7fc8a72b;p=openembedded.git Delete /var/spool/postfix directory created by useradd to let volatile assign the correct permissions. --- 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