From b58173174483e18712d127a3058d33fa2d7ef52f Mon Sep 17 00:00:00 2001 From: ccsmart Date: Sun, 18 Sep 2005 12:55:45 +0000 Subject: postfix: remove temporary file /var/tmp/main_cf.sh after installation --- packages/postfix/postfix_2.0.20.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'packages') 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 -- cgit 1.2.3-korg