File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed
Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -148,7 +148,10 @@ download_extract() {
148148 local our_mirror=" https://dl.unvanquished.net/deps/original/${1} "
149149 local tarball_file=" ${DOWNLOAD_DIR} /${1} " ; shift
150150
151- if " ${prefer_ours} "
151+ if " ${require_theirs} "
152+ then
153+ download " ${tarball_file} " " ${@ } "
154+ elif " ${prefer_ours} "
152155 then
153156 download " ${tarball_file} " " ${our_mirror} " " ${@ } "
154157 else
@@ -1190,6 +1193,7 @@ errorHelp() {
11901193
11911194download_only=' false'
11921195prefer_ours=' false'
1196+ require_theirs=' false'
11931197while [ -n " ${1:- } " ]
11941198do
11951199 case " ${1-} " in
@@ -1201,6 +1205,10 @@ do
12011205 prefer_ours=' true'
12021206 shift
12031207 ;;
1208+ ' --require-theirs' )
1209+ require_theirs=' true'
1210+ shift
1211+ ;;
12041212 ' --' * )
12051213 helpError
12061214 ;;
You can’t perform that action at this time.
0 commit comments