mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-27 01:53:27 +01:00
Fix install.sh handling of action.\* files
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@1992 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
b510396f13
commit
4f46ce9f6f
@ -19,6 +19,8 @@ Changes in 2.2.2
|
|||||||
|
|
||||||
8) Correct port numbers in action.AllowPCA.
|
8) Correct port numbers in action.AllowPCA.
|
||||||
|
|
||||||
|
9) Fix installer's handling of action.* files.
|
||||||
|
|
||||||
Changes in 2.2.1
|
Changes in 2.2.1
|
||||||
|
|
||||||
1) Add examples to the zones and policy files.
|
1) Add examples to the zones and policy files.
|
||||||
|
@ -514,13 +514,9 @@ fi
|
|||||||
# Install the Action files
|
# Install the Action files
|
||||||
#
|
#
|
||||||
for f in action.* ; do
|
for f in action.* ; do
|
||||||
if [ -f ${PREFIX}/usr/share/shorewall/$f ]; then
|
install_file_with_backup $f ${PREFIX}/usr/share/shorewall/$f 0600
|
||||||
backup_file /usr/share/shorewall/$f
|
echo
|
||||||
else
|
echo "Action ${f#*.} file installed as ${PREFIX}/usr/share/shorewall/$f"
|
||||||
run_install -o $OWNER -g $GROUP -m 0600 $f ${PREFIX}/usr/share/shorewall/$f
|
|
||||||
echo
|
|
||||||
echo "Action ${f#*.} file installed as ${PREFIX}/usr/share/shorewall/$f"
|
|
||||||
fi
|
|
||||||
done
|
done
|
||||||
#
|
#
|
||||||
# Backup the version file
|
# Backup the version file
|
||||||
|
@ -17,6 +17,9 @@ Problems corrected in version 2.2.2
|
|||||||
4) The port numbers for UDP and TCP were previously reversed in the
|
4) The port numbers for UDP and TCP were previously reversed in the
|
||||||
/usr/share/shorewall/action.AllowPCA file.
|
/usr/share/shorewall/action.AllowPCA file.
|
||||||
|
|
||||||
|
5) Previously, the 'install.sh' script did not update the
|
||||||
|
/usr/share/shorewall/action.* files.
|
||||||
|
|
||||||
-----------------------------------------------------------------------
|
-----------------------------------------------------------------------
|
||||||
New Features in version 2.2.2
|
New Features in version 2.2.2
|
||||||
|
|
||||||
|
@ -19,6 +19,8 @@ Changes in 2.2.2
|
|||||||
|
|
||||||
8) Correct port numbers in action.AllowPCA.
|
8) Correct port numbers in action.AllowPCA.
|
||||||
|
|
||||||
|
9) Fix installer's handling of action.* files.
|
||||||
|
|
||||||
Changes in 2.2.1
|
Changes in 2.2.1
|
||||||
|
|
||||||
1) Add examples to the zones and policy files.
|
1) Add examples to the zones and policy files.
|
||||||
|
@ -514,13 +514,9 @@ fi
|
|||||||
# Install the Action files
|
# Install the Action files
|
||||||
#
|
#
|
||||||
for f in action.* ; do
|
for f in action.* ; do
|
||||||
if [ -f ${PREFIX}/usr/share/shorewall/$f ]; then
|
install_file_with_backup $f ${PREFIX}/usr/share/shorewall/$f 0600
|
||||||
backup_file /usr/share/shorewall/$f
|
echo
|
||||||
else
|
echo "Action ${f#*.} file installed as ${PREFIX}/usr/share/shorewall/$f"
|
||||||
run_install -o $OWNER -g $GROUP -m 0600 $f ${PREFIX}/usr/share/shorewall/$f
|
|
||||||
echo
|
|
||||||
echo "Action ${f#*.} file installed as ${PREFIX}/usr/share/shorewall/$f"
|
|
||||||
fi
|
|
||||||
done
|
done
|
||||||
#
|
#
|
||||||
# Backup the version file
|
# Backup the version file
|
||||||
|
@ -17,6 +17,9 @@ Problems corrected in version 2.2.2
|
|||||||
4) The port numbers for UDP and TCP were previously reversed in the
|
4) The port numbers for UDP and TCP were previously reversed in the
|
||||||
/usr/share/shorewall/action.AllowPCA file.
|
/usr/share/shorewall/action.AllowPCA file.
|
||||||
|
|
||||||
|
5) Previously, the 'install.sh' script did not update the
|
||||||
|
/usr/share/shorewall/action.* files.
|
||||||
|
|
||||||
-----------------------------------------------------------------------
|
-----------------------------------------------------------------------
|
||||||
New Features in version 2.2.2
|
New Features in version 2.2.2
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user