mirror of
https://github.com/arkenfox/user.js.git
synced 2025-11-23 05:11:03 -05:00
Merge 5ba496ca21 into 0f14e030b3
This commit is contained in:
commit
458a282f96
2 changed files with 2 additions and 2 deletions
|
|
@ -23,7 +23,7 @@ QUICKSTART=false
|
||||||
## download method priority: curl -> wget
|
## download method priority: curl -> wget
|
||||||
DOWNLOAD_METHOD=''
|
DOWNLOAD_METHOD=''
|
||||||
if command -v curl >/dev/null; then
|
if command -v curl >/dev/null; then
|
||||||
DOWNLOAD_METHOD='curl --max-redirs 3 -so'
|
DOWNLOAD_METHOD='curl --max-redirs 3 -fso'
|
||||||
elif command -v wget >/dev/null; then
|
elif command -v wget >/dev/null; then
|
||||||
DOWNLOAD_METHOD='wget --max-redirect 3 --quiet -O'
|
DOWNLOAD_METHOD='wget --max-redirect 3 --quiet -O'
|
||||||
else
|
else
|
||||||
|
|
|
||||||
|
|
@ -48,7 +48,7 @@ ESR=false
|
||||||
# Download method priority: curl -> wget
|
# Download method priority: curl -> wget
|
||||||
DOWNLOAD_METHOD=''
|
DOWNLOAD_METHOD=''
|
||||||
if command -v curl >/dev/null; then
|
if command -v curl >/dev/null; then
|
||||||
DOWNLOAD_METHOD='curl --max-redirs 3 -so'
|
DOWNLOAD_METHOD='curl --max-redirs 3 -fso'
|
||||||
elif command -v wget >/dev/null; then
|
elif command -v wget >/dev/null; then
|
||||||
DOWNLOAD_METHOD='wget --max-redirect 3 --quiet -O'
|
DOWNLOAD_METHOD='wget --max-redirect 3 --quiet -O'
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue