From bc5fe4c12d5091a4785ecfc91d78d8fc8e5137ce Mon Sep 17 00:00:00 2001 From: zorn-v Date: Wed, 17 May 2023 17:19:13 +1000 Subject: [PATCH] Fix stop portwine with GUI_DISABLED_CS=1 --- data_from_portwine/scripts/start.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data_from_portwine/scripts/start.sh b/data_from_portwine/scripts/start.sh index af92b0b2..277af469 100755 --- a/data_from_portwine/scripts/start.sh +++ b/data_from_portwine/scripts/start.sh @@ -842,7 +842,7 @@ if [[ -z "${PW_DISABLED_CREATE_DB}" ]] ; then edit_db_from_gui PW_VULKAN_USE PW_WINE_USE PW_PREFIX_NAME fi -case "$PW_YAD_SET" in +[ -n "$PW_YAD_SET" ] && case "$PW_YAD_SET" in 98) portwine_delete_shortcut ;; 100) portwine_create_shortcut ;; DEBUG|102) portwine_start_debug ;;