Fix wrong permissions on /etc/shorewall/params during intall

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6662 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2007-06-23 22:45:48 +00:00
parent b3c222f410
commit 051cb61050

View File

@ -378,7 +378,9 @@ fi
#
run_install $OWNERSHIP -m 0644 params ${PREFIX}/usr/share/shorewall/configfiles/params
if [ ! -f ${PREFIX}/etc/shorewall/params ]; then
if [ -f ${PREFIX}/etc/shorewall/params ]; then
chmod 0644 ${PREFIX}/etc/shorewall/params
else
run_install $OWNERSHIP -m 0644 params ${PREFIX}/etc/shorewall/params
echo "Parameter file installed as ${PREFIX}/etc/shorewall/params"
fi