verify if wget is installed

added line 18 to check if wget is installed in the user's system.
This commit is contained in:
M Himansh 2021-05-16 18:46:54 +05:30 committed by GitHub
parent 6944f8a60b
commit 7182eac4bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 6 deletions

View File

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