diff --git a/Shorewall-lite/install.sh b/Shorewall-lite/install.sh index e0752668a..c5ac69579 100755 --- a/Shorewall-lite/install.sh +++ b/Shorewall-lite/install.sh @@ -314,13 +314,13 @@ if [ -d manpages ]; then for f in *.5; do gzip -c $f > $f.gz - install_file $INSTALLD $f.gz ${PREFIX}/usr/share/man/man5/$f.gz 0644 + run_install -T $INSTALLD $OWNERSHIP -m 0644 $f.gz ${PREFIX}/usr/share/man/man5/$f.gz echo "Man page $f.gz installed to ${PREFIX}/usr/share/man/man5/$f.gz" done for f in *.8; do gzip -c $f > $f.gz - install $INSTALLD $f.gz ${PREFIX}/usr/share/man/man8/$f.gz 0644 + run_install -T $INSTALLD $OWNERSHIP -m 0644 $f.gz ${PREFIX}/usr/share/man/man8/$f.gz echo "Man page $f.gz installed to ${PREFIX}/usr/share/man/man8/$f.gz" done diff --git a/Shorewall6-lite/install.sh b/Shorewall6-lite/install.sh index b9007b1db..99084f7eb 100755 --- a/Shorewall6-lite/install.sh +++ b/Shorewall6-lite/install.sh @@ -311,7 +311,7 @@ if [ -d manpages ]; then for f in *.5; do gzip -c $f > $f.gz - run_install $INSTALLD -m 644 $f.gz ${PREFIX}/usr/share/man/man5/$f.gz + run_install $INSTALLD -m 644 $f.gz ${PREFIX}/usr/share/man/man5/ echo "Man page $f.gz installed to ${PREFIX}/usr/share/man/man5/$f.gz" done