diff --git a/Shorewall-lite/install.sh b/Shorewall-lite/install.sh index 7c45f604c..03d956333 100755 --- a/Shorewall-lite/install.sh +++ b/Shorewall-lite/install.sh @@ -304,7 +304,7 @@ echo "Modules file installed as ${PREFIX}/usr/share/shorewall-lite/modules" cd manpages -[ -n "$INSTALLD" ] || mkdir -p ${PREFIX}${MANDIR}/man5/ ${PREFIX}${MANDIR}/man8/ +[ -n "$INSTALLD" ] || mkdir -p ${PREFIX}$/usr/share/man/man5/ ${PREFIX}${MANDIR}/man8/ for f in *.5; do gzip -c $f > $f.gz diff --git a/Shorewall6-lite/install.sh b/Shorewall6-lite/install.sh index 1cc8fab88..d308da92d 100755 --- a/Shorewall6-lite/install.sh +++ b/Shorewall6-lite/install.sh @@ -303,7 +303,7 @@ echo "Modules file installed as ${PREFIX}/usr/share/shorewall6-lite/modules" cd manpages -[ -n "$INSTALLD" ] || mkdir -p ${PREFIX}${MANDIR}/man5/ ${PREFIX}${MANDIR}/man8/ +[ -n "$INSTALLD" ] || mkdir -p ${PREFIX}/usr/share/man/man5/ ${PREFIX}/usr/share/man/man8/ for f in *.5; do gzip -c $f > $f.gz