diff --git a/Shorewall/install.sh b/Shorewall/install.sh index c61dd5fc2..39d1f7f1c 100755 --- a/Shorewall/install.sh +++ b/Shorewall/install.sh @@ -684,14 +684,14 @@ rm -f *.gz for f in manpages/*.5; do gzip $f - run_install -D $f.gz ${PREFIX}/usr/share/man/man5/${f}.gz - echo "Man page $f.gz installed to /usr/share/man/man5/${f}.gz" + run_install -D $f.gz ${PREFIX}/usr/share/man/man5/${f#manpage/}.gz + echo "Man page $f.gz installed to /usr/share/man/man5/${f#manpage/}.gz" done for f in manpages/*.8; do gzip $f - run_install -D ${f}.gz ${PREFIX}/usr/share/man/man8/${f}.gz - echo "Man page $f.gz installed to /usr/share/man/man8/${f}.gz" + run_install -D ${f}.gz ${PREFIX}/usr/share/man/man8/${f#manpage/}.gz + echo "Man page $f.gz installed to /usr/share/man/man8/${f#manpage/}.gz" done echo "Man Pages Installed"