summaryrefslogtreecommitdiff
path: root/mail/postfix25/scripts/fix-files-list
blob: cc4a1083a81449e5cda9ebe45ae97cd02c813c6d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

# need to fixup ${PREFIX}/etc/postfix/postfix-files to indicate compressed
# man pages, since the ports software compresses them later, and if we
# run post-install it will complain about missing files
# (script from Simon J. Mudd)

ed ${PREFIX}/etc/postfix/postfix-files <<EOF || exit 1
%s/\(\/man[158]\/.*\.[158]\):/\1.gz:/
w
q
EOF