Delete /var/spool/postfix directory created by useradd to let volatile assign the...
authorccsmart <ccsmart@smartpal.de>
Tue, 9 Aug 2005 17:55:13 +0000 (17:55 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Tue, 9 Aug 2005 17:55:13 +0000 (17:55 +0000)
packages/postfix/postfix_2.0.20.bb

index f5c22c1..a23ac2f 100644 (file)
@@ -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