mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-23 08:03:11 +01:00
Update upload
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@8981 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
b6e0759a4e
commit
ffa1530411
@ -30,7 +30,9 @@ usage() {
|
||||
}
|
||||
|
||||
rpm=
|
||||
rpm6=
|
||||
literpm=
|
||||
lite6rpm=
|
||||
perlrpm=
|
||||
shellrpm=
|
||||
|
||||
@ -45,6 +47,8 @@ UPLOADSHELL=
|
||||
UPLOADLITE=
|
||||
UPLOADXML=
|
||||
UPLOADHTML=
|
||||
UPLOAD6=
|
||||
UPLOAD6LITE=
|
||||
PARTIAL=Yes
|
||||
BASE=
|
||||
|
||||
@ -60,6 +64,8 @@ case $1 in
|
||||
UPLOADLITE=Yes
|
||||
UPLOADXML=Yes
|
||||
UPLOADHTML=Yes
|
||||
UPLOAD6=Yes
|
||||
UPLOAD6LITE=Yes
|
||||
PARTIAL=
|
||||
done=Yes
|
||||
;;
|
||||
@ -101,6 +107,14 @@ while [ -z "$done" ]; do
|
||||
UPLOADHTML=Yes
|
||||
option=${option#h}
|
||||
;;
|
||||
6*)
|
||||
UPLOAD6=Yes
|
||||
option=${option#6}
|
||||
;;
|
||||
L*)
|
||||
UPLOAD6LITE=Yes
|
||||
option=${option#L}
|
||||
;;
|
||||
*)
|
||||
usage
|
||||
;;
|
||||
@ -144,6 +158,17 @@ case $1 in
|
||||
shellrpm=shorewall-shell-${1}-0base.noarch.rpm
|
||||
BASE=Yes
|
||||
;;
|
||||
4.3.*)
|
||||
DEST="/srv/ftp/pub/shorewall/development/${1%.*}/shorewall-$1"
|
||||
SHOREWALL=shorewall-common
|
||||
rpm=shorewall-common-${1}-0base.noarch.rpm
|
||||
literpm=shorewall-lite-${1}-0base.noarch.rpm
|
||||
perlrpm=shorewall-perl-${1}-0base.noarch.rpm
|
||||
shellrpm=shorewall-shell-${1}-0base.noarch.rpm
|
||||
rpm6=shorewall6-${1}-0base.noarch.rpm
|
||||
lite6rpm=shorewall6-lite-${1}-0base.noarch.rpm
|
||||
BASE=Yes
|
||||
;;
|
||||
3.*[13579].*)
|
||||
DEST="/srv/ftp/pub/shorewall/development/${1%.*}/shorewall-$1"
|
||||
rpm=shorewall-${1}-1.noarch.rpm
|
||||
|
Loading…
Reference in New Issue
Block a user