mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-15 19:01:19 +01:00
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:
parent
b3c222f410
commit
051cb61050
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user