diff --git a/winehelper b/winehelper index 1c3997a..7a15a69 100755 --- a/winehelper +++ b/winehelper @@ -837,6 +837,7 @@ wine_run () { wine_run_install () { print_info "Запускаем установку приложения $PROG_NAME." + [[ ! -f "$1" ]] && fatal "Нет файла для установки: $1" case "${1,,}" in *.exe) wine_run $WINE_WIN_START "$@" ;; *.msi) wine_run msiexec /i "$@" ;;