Scripts version 2277

This commit is contained in:
Mikhail Tergoev
2024-04-15 13:11:21 +03:00
parent 8f21e427e7
commit 03f15e67e3
59 changed files with 73 additions and 64 deletions

View File

@ -124,7 +124,7 @@ try_download () {
local silent="false"
local no_mirror="false"
case "$3" in
silent)
silent)
silent=true ;;
no_mirror)
no_mirror=true
@ -420,7 +420,7 @@ init_wine_ver () {
done
IFS="$orig_IFS"
fi
if ls "${PORT_WINE_PATH}/data/dist/" | grep "${PW_WINE_USE}" ; then
if [[ -z $(ls "${PORT_WINE_PATH}/data/dist/" | grep "${PW_WINE_USE}") ]] ; then
if [[ "$PW_WINE_USE" =~ PROTON_LG* ]]
then export PW_WINE_USE=PROTON_LG
else export PW_WINE_USE=WINE_LG