diff --git a/package/alessandro/postfix/postfix.conf b/package/alessandro/postfix/postfix.conf index fa13627c6..d835f4aae 100644 --- a/package/alessandro/postfix/postfix.conf +++ b/package/alessandro/postfix/postfix.conf @@ -22,6 +22,19 @@ pkg_postfix_inmake() { chmod +x postfix-install + + # Due to the compare and remove operation in the install file we really + # need to really modify the config and the filenames - the + # INSTALL_WRAPPER can not be used. + + sed -e "s,man1/mailq.1,man1/mailq_postfix.1," \ + -e "s,man1/newaliases.1,man1/newaliases_postfix.1," \ + -e "s,man5/aliases.5,man5/aliases_postfix.5," \ + conf/postfix-files > conf/postfix-files.orig + mv conf/postfix-files{.orig,} + mv man/man5/aliases{,_postfix}.5 + mv man/man1/newaliases{,_postfix}.1 + mv man/man1/mailq{,_postfix}.1 } pkg_postfix_postmake() { @@ -36,11 +49,6 @@ pkg_postfix_postmake() { install_setmailer postfix } -var_append INSTALL_WRAPPER_FILTER "|" \ - 'sed -e "s,man1/mailq.1,man1/mailq_postfix.1," \ - -e "s,man1/newaliases.1,man1/newaliases_postfix.1," \ - -e "s,man1/aliases.1,man1/aliases_postfix.1,"' - runconf=0 inmake=pkg_postfix_inmake makeinstopt=""