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:
teastep 2005-03-10 16:24:57 +00:00
parent b510396f13
commit 4f46ce9f6f
6 changed files with 16 additions and 14 deletions

View File

@ -19,6 +19,8 @@ Changes in 2.2.2
8) Correct port numbers in action.AllowPCA.
9) Fix installer's handling of action.* files.
Changes in 2.2.1
1) Add examples to the zones and policy files.

View File

@ -514,13 +514,9 @@ fi
# Install the Action files
#
for f in action.* ; do
if [ -f ${PREFIX}/usr/share/shorewall/$f ]; then
backup_file /usr/share/shorewall/$f
else
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
install_file_with_backup $f ${PREFIX}/usr/share/shorewall/$f 0600
echo
echo "Action ${f#*.} file installed as ${PREFIX}/usr/share/shorewall/$f"
done
#
# Backup the version file

View 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
/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

View File

@ -19,6 +19,8 @@ Changes in 2.2.2
8) Correct port numbers in action.AllowPCA.
9) Fix installer's handling of action.* files.
Changes in 2.2.1
1) Add examples to the zones and policy files.

View File

@ -514,13 +514,9 @@ fi
# Install the Action files
#
for f in action.* ; do
if [ -f ${PREFIX}/usr/share/shorewall/$f ]; then
backup_file /usr/share/shorewall/$f
else
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
install_file_with_backup $f ${PREFIX}/usr/share/shorewall/$f 0600
echo
echo "Action ${f#*.} file installed as ${PREFIX}/usr/share/shorewall/$f"
done
#
# Backup the version file

View 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
/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