From: ccsmart Date: Sun, 18 Sep 2005 12:55:45 +0000 (+0000) Subject: postfix: remove temporary file /var/tmp/main_cf.sh after installation X-Git-Tag: Release-2010-05/1~9453^2~3496^2~5 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b58173174483e18712d127a3058d33fa2d7ef52f;p=openembedded.git postfix: remove temporary file /var/tmp/main_cf.sh after installation --- diff --git a/packages/postfix/postfix_2.0.20.bb b/packages/postfix/postfix_2.0.20.bb index 66839764b7..a676c3f809 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 = "r6" +PR = "r7" SRC_URI = "ftp://ftp.porcupine.org/mirrors/postfix-release/official/postfix-${PV}.tar.gz \ file://${FILESDIR}/makedefs.patch;patch=1 \ @@ -54,6 +54,7 @@ pkg_postinst () { chmod g+s /usr/sbin/postqueue chmod g+s /usr/sbin/postdrop /var/tmp/main_cf.sh >/etc/postfix/main.cf + rm -f /var/tmp/main_cf.sh chmod 644 /etc/postfix/main.cf [ -d /var/spool/postfix ] && rmdir /var/spool/postfix /etc/init.d/populate-volatile.sh