From 5b511e5e7d437f2b897511c7d70232f1e60b5510 Mon Sep 17 00:00:00 2001 From: ccsmart Date: Thu, 4 Aug 2005 17:25:08 +0000 Subject: Prefer populate over installer because of permissions being applied. --- packages/postfix/postfix_2.0.20.bb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'packages/postfix') diff --git a/packages/postfix/postfix_2.0.20.bb b/packages/postfix/postfix_2.0.20.bb index 25a030f597..3344e05115 100644 --- a/packages/postfix/postfix_2.0.20.bb +++ b/packages/postfix/postfix_2.0.20.bb @@ -32,6 +32,7 @@ do_compile () { do_install () { sh ./postfix-install 'install_root=${D}' -non-interactive + rm -rf ${D}/var/spool/postfix mv ${D}${sysconfdir}/postfix/main.cf ${D}${sysconfdir}/postfix/sample-main.cf install -m 644 ${WORKDIR}/main.cf_2.0 ${D}${sysconfdir}/postfix/main.cf install -m 644 ${WORKDIR}/volatiles ${D}${sysconfdir}/default/volatiles/01_postfix @@ -44,5 +45,6 @@ pkg_postinst () { grep vmail /etc/group || addgroup vmail grep postfix /etc/passwd || adduser --disabled-password --home=/var/spool/postfix --ingroup postfix postfix grep vmail /etc/passwd || adduser --disabled-password --home=/var/spool/vmail --ingroup vmail vmail + /etc/init.d/populate-volatile.sh } -- cgit v1.2.3