From c77d87c9b597aa4d8b1fa6eb372d9d40461a9dec Mon Sep 17 00:00:00 2001 From: Sergey Palcheh Date: Sun, 19 Oct 2025 14:25:06 +0600 Subject: [PATCH] fixed checking the file definition during application installation --- winehelper | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/winehelper b/winehelper index 97d4bee..0b664ad 100755 --- a/winehelper +++ b/winehelper @@ -2183,7 +2183,7 @@ select_component_version() { } run_install_to_prefix() { - if [[ -z "$1" ]] || [[ -z "$2" ]] || [[ -f "$2" ]] ; then + if [[ -z "$1" ]] || [[ -z "$2" ]] || ! [[ -f "$2" ]] ; then fatal "Использование: $SCRIPT_NAME install-to-prefix <имя_префикса> <путь_к_установщику>" fi