mirror of
https://github.com/arkenfox/user.js.git
synced 2025-04-22 00:19:28 -04:00
drop unnecessary redirection
This commit is contained in:
parent
c878512a07
commit
5f7c511cfe
@ -17,7 +17,7 @@ DOWNLOAD_TO_FILE="curl -O"
|
||||
|
||||
# Use wget if curl is not available.
|
||||
if [[ -z $(command -v "curl") ]] > /dev/null 2>&1; then
|
||||
if [[ $(command -v "wget") ]] > /dev/null 2>&1; then
|
||||
if [[ $(command -v "wget") ]]; then
|
||||
DOWNLOAD_TO_STDOUT="wget --quiet --output-document=-"
|
||||
DOWNLOAD_TO_FILE="wget"
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user