From 7182eac4bdc2e483a9d66e63e082a44fb21895c7 Mon Sep 17 00:00:00 2001 From: M Himansh Date: Sun, 16 May 2021 18:46:54 +0530 Subject: [PATCH] verify if wget is installed added line 18 to check if wget is installed in the user's system. --- scripts/PhotoshopSetup.sh | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/scripts/PhotoshopSetup.sh b/scripts/PhotoshopSetup.sh index 50fa239..48ab735 100755 --- a/scripts/PhotoshopSetup.sh +++ b/scripts/PhotoshopSetup.sh @@ -15,6 +15,7 @@ function main() { package_installed wine64 package_installed md5sum package_installed winetricks + package_installed wget RESOURCES_PATH="$SCR_PATH/resources" WINE_PREFIX="$SCR_PATH/prefix" @@ -35,12 +36,12 @@ function main() { error "prefix config failed :(" fi - if [ -f "$WINE_PREFIX/user.reg" ];then - #add dark mod - set_dark_mod - else - error "user.reg Not Found :(" - fi + if [ -f "$WINE_PREFIX/user.reg" ];then + #add dark mod + set_dark_mod + else + error "user.reg Not Found :(" + fi #create resources directory rmdir_if_exist $RESOURCES_PATH