mirror of
https://github.com/tytydraco/KTweak.git
synced 2024-11-14 18:12:46 +00:00
Fix if statement
Signed-off-by: Tyler Nijmeh <tylernij@gmail.com>
This commit is contained in:
parent
bfd4e46976
commit
5ef75dd3fd
@ -11,8 +11,10 @@ ui_print ""
|
||||
|
||||
ui_print " * Fetching script from GitHub..."
|
||||
if command -v curl &> /dev/null
|
||||
then
|
||||
curl -Lso "$SCRIPT_PATH" "$URL"
|
||||
elif command -v wget &> /dev/null
|
||||
then
|
||||
wget -qO "$SCRIPT_PATH" "$URL"
|
||||
else
|
||||
ui_print " ! Missing curl and wget, bailing..."
|
||||
|
Loading…
Reference in New Issue
Block a user