postfix: remove temporary file /var/tmp/main_cf.sh after installation
authorccsmart <ccsmart@smartpal.de>
Sun, 18 Sep 2005 12:55:45 +0000 (12:55 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Sun, 18 Sep 2005 12:55:45 +0000 (12:55 +0000)
packages/postfix/postfix_2.0.20.bb

index 6683976..a676c3f 100644 (file)
@@ -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