summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorccsmart <ccsmart@smartpal.de>2005-09-18 12:55:45 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-09-18 12:55:45 +0000
commitb58173174483e18712d127a3058d33fa2d7ef52f (patch)
treef5fd9358ac7c4b0ab68a90b9d911eb83e1288d16
parenta53f01fcd7d5652feb9f161d94e79fa6445c7cf1 (diff)
postfix: remove temporary file /var/tmp/main_cf.sh after installation
-rw-r--r--packages/postfix/postfix_2.0.20.bb3
1 files changed, 2 insertions, 1 deletions
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