Update upload and stage scripts

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@9432 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2009-02-10 23:13:02 +00:00
parent a6d139a160
commit 3e0020e6e3
2 changed files with 18 additions and 4 deletions

View File

@ -22,11 +22,11 @@
#
# Usage:
#
# stage [-pclsxh] <version>
# stage [-pclL6sxh] <version>
#
usage() {
echo "Usage: stage [-pclsxh] <version>"
echo "Usage: stage [-pclL6sxh] <version>"
}
rpm=
@ -64,6 +64,16 @@ case $1 in
UPLOADLITE=Yes
UPLOADXML=Yes
UPLOADHTML=Yes
case $1 in
4.0.*)
;;
*)
UPLOAD6=Yes
UPLOAD6LITE=Yes
;;
esac
PARTIAL=
done=Yes
;;
@ -132,7 +142,9 @@ case $1 in
DEST="/srv/ftp/pub/shorewall/development/staging/${1%.*}/shorewall-$1"
SHOREWALL=shorewall-common
rpm=shorewall-common-${1%-*}-0${1#*-}.noarch.rpm
rpm6=shorewall6-${1%-*}-0${1#*-}.noarch.rpm
literpm=shorewall-lite-${1%-*}-0${1#*-}.noarch.rpm
lite6rpm=shorewall6-lite-${1%-*}-0${1#*-}.noarch.rpm
perlrpm=shorewall-perl-${1%-*}-0${1#*-}.noarch.rpm
shellrpm=shorewall-shell-${1%-*}-0${1#*-}.noarch.rpm
BASE=Yes
@ -160,7 +172,9 @@ case $1 in
DEST="/srv/ftp/pub/shorewall/development/staging/${1%.*}/shorewall-$1"
SHOREWALL=shorewall-common
rpm=shorewall-common-${1}-0base.noarch.rpm
rpm6=shorewall6-${BASEVERSION}-${PATCHNUM}.noarch.rpm
literpm=shorewall-lite-${1}-0base.noarch.rpm
lite6rpm=shorewall6-lite-${1}-0base.noarch.rpm
perlrpm=shorewall-perl-${1}-0base.noarch.rpm
shellrpm=shorewall-shell-${1}-0base.noarch.rpm
BASE=Yes

View File

@ -22,11 +22,11 @@
#
# Usage:
#
# upload [-pclsxh] <version>
# upload [-pclL6sxh] <version>
#
usage() {
echo "Usage: upload [-pclsxh] <version>"
echo "Usage: upload [-pclL6sxh] <version>"
}
rpm=