From cebe60eab24c18da490107a1ca8e4c0bb3b406e7 Mon Sep 17 00:00:00 2001 From: M Himansh Date: Sun, 16 May 2021 19:42:33 +0530 Subject: [PATCH] corrected $wgetpkg name --- scripts/sharedFuncs.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/sharedFuncs.sh b/scripts/sharedFuncs.sh index 169954d..1dbc1f1 100755 --- a/scripts/sharedFuncs.sh +++ b/scripts/sharedFuncs.sh @@ -182,7 +182,7 @@ function download_component() { else show_message "downloading $4 ..." ariapkg=$(package_installed aria2c "summary") - wget --progress=bar --tries=0 pkg=$(package_installed wget --progress=bar --tries=0 "summary") + wgetpkg=$(package_installed wget --progress=bar --tries=0 "summary") if [ "$ariapkg" == "true" ];then show_message "using aria2c to download $4" @@ -192,7 +192,7 @@ function download_component() { notify-send "Photoshop CC" "$4 download completed" -i "download" fi - elif [ "$wget --progress=bar --tries=0 pkg" == "true" ];then + elif [ "$wgetpkg" == "true" ];then show_message "using wget --progress=bar --tries=0 to download $4" wget --progress=bar --tries=0 $3 -o $1 else