FS#28056 - postfix-files lists wrong man pages filename
Attached to Project:
Arch Linux
Opened by Antony Jepson (smurnjiff) - Sunday, 22 January 2012, 21:22 GMT
Last edited by Gaetan Bisson (vesath) - Sunday, 22 January 2012, 23:55 GMT
Opened by Antony Jepson (smurnjiff) - Sunday, 22 January 2012, 21:22 GMT
Last edited by Gaetan Bisson (vesath) - Sunday, 22 January 2012, 23:55 GMT
|
Details
Description: The postfix-files program does not contain the
correct man-page path. This results in `postfix
set-permissions` failing with "chown: cannot access
`/usr/share/man/man1/mailq.1': No such file or
directory".
Additional info: * postfix 2.8.7-2 * db 5.3.15-1 Steps to reproduce: # postfix set-permissions Steps to fix: Replace the man-paths with their -gz equivalents. cd $PKG/usr/libexec/postfix grep manpage postfix-files | while read line; do MANPAGE="$(echo "$line" | cut -d: -f1)" sed -i s%"$MANPAGE"%"$MANPAGE.gz"% postfix-files done Source: http://repository.slacky.eu/slackware-13.0/network/postfix/2.6.5/src/postfix.SlackBuild |
This task depends upon
Closed by Gaetan Bisson (vesath)
Sunday, 22 January 2012, 23:55 GMT
Reason for closing: Fixed
Additional comments about closing: fixed in SVN
Sunday, 22 January 2012, 23:55 GMT
Reason for closing: Fixed
Additional comments about closing: fixed in SVN
Comment by Gaetan Bisson (vesath) -
Sunday, 22 January 2012, 23:49 GMT
What a funny shell script! Seriously though, it can be done in
just one sed command...