From 1aae4c0429677a34a3c0c55911cb40492b891fa1 Mon Sep 17 00:00:00 2001 From: zorn-v Date: Fri, 30 Aug 2024 16:25:58 +1000 Subject: [PATCH] Check PW_NO_AUTOCREATE_SHORTCUT var --- data_from_portwine/scripts/functions_helper | 1 + 1 file changed, 1 insertion(+) diff --git a/data_from_portwine/scripts/functions_helper b/data_from_portwine/scripts/functions_helper index 9221ac71..935aa905 100755 --- a/data_from_portwine/scripts/functions_helper +++ b/data_from_portwine/scripts/functions_helper @@ -4789,6 +4789,7 @@ portwine_create_shortcut () { } pw_auto_create_shortcut () { + [[ "${PW_NO_AUTOCREATE_SHORTCUT}" == 1 ]] && return 0 [[ "${PW_CHECK_AUTOINSTALL}" == 1 ]] && return 0 unset LINKS