mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-21 02:08:48 +02: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=
|
rpm=
|
||||||
|
rpm6=
|
||||||
literpm=
|
literpm=
|
||||||
|
lite6rpm=
|
||||||
perlrpm=
|
perlrpm=
|
||||||
shellrpm=
|
shellrpm=
|
||||||
|
|
||||||
@ -45,6 +47,8 @@ UPLOADSHELL=
|
|||||||
UPLOADLITE=
|
UPLOADLITE=
|
||||||
UPLOADXML=
|
UPLOADXML=
|
||||||
UPLOADHTML=
|
UPLOADHTML=
|
||||||
|
UPLOAD6=
|
||||||
|
UPLOAD6LITE=
|
||||||
PARTIAL=Yes
|
PARTIAL=Yes
|
||||||
BASE=
|
BASE=
|
||||||
|
|
||||||
@ -60,6 +64,8 @@ case $1 in
|
|||||||
UPLOADLITE=Yes
|
UPLOADLITE=Yes
|
||||||
UPLOADXML=Yes
|
UPLOADXML=Yes
|
||||||
UPLOADHTML=Yes
|
UPLOADHTML=Yes
|
||||||
|
UPLOAD6=Yes
|
||||||
|
UPLOAD6LITE=Yes
|
||||||
PARTIAL=
|
PARTIAL=
|
||||||
done=Yes
|
done=Yes
|
||||||
;;
|
;;
|
||||||
@ -101,6 +107,14 @@ while [ -z "$done" ]; do
|
|||||||
UPLOADHTML=Yes
|
UPLOADHTML=Yes
|
||||||
option=${option#h}
|
option=${option#h}
|
||||||
;;
|
;;
|
||||||
|
6*)
|
||||||
|
UPLOAD6=Yes
|
||||||
|
option=${option#6}
|
||||||
|
;;
|
||||||
|
L*)
|
||||||
|
UPLOAD6LITE=Yes
|
||||||
|
option=${option#L}
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
usage
|
usage
|
||||||
;;
|
;;
|
||||||
@ -144,6 +158,17 @@ case $1 in
|
|||||||
shellrpm=shorewall-shell-${1}-0base.noarch.rpm
|
shellrpm=shorewall-shell-${1}-0base.noarch.rpm
|
||||||
BASE=Yes
|
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].*)
|
3.*[13579].*)
|
||||||
DEST="/srv/ftp/pub/shorewall/development/${1%.*}/shorewall-$1"
|
DEST="/srv/ftp/pub/shorewall/development/${1%.*}/shorewall-$1"
|
||||||
rpm=shorewall-${1}-1.noarch.rpm
|
rpm=shorewall-${1}-1.noarch.rpm
|
||||||
|
Loading…
x
Reference in New Issue
Block a user