Fix if statement

Signed-off-by: Tyler Nijmeh <tylernij@gmail.com>
This commit is contained in:
Tyler Nijmeh 2021-11-24 20:56:14 -08:00
parent bfd4e46976
commit 5ef75dd3fd

View File

@ -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..."