mirror of
https://github.com/arkenfox/user.js.git
synced 2025-05-03 23:43:40 +02:00
drop unnecessary redirection
This commit is contained in:
parent
c878512a07
commit
5f7c511cfe
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue