forked from CastroFidel/winehelper
added fatal error if installed file not found
This commit is contained in:
parent
61e95fc883
commit
2aab6a1951
@ -837,6 +837,7 @@ wine_run () {
|
|||||||
|
|
||||||
wine_run_install () {
|
wine_run_install () {
|
||||||
print_info "Запускаем установку приложения $PROG_NAME."
|
print_info "Запускаем установку приложения $PROG_NAME."
|
||||||
|
[[ ! -f "$1" ]] && fatal "Нет файла для установки: $1"
|
||||||
case "${1,,}" in
|
case "${1,,}" in
|
||||||
*.exe) wine_run $WINE_WIN_START "$@" ;;
|
*.exe) wine_run $WINE_WIN_START "$@" ;;
|
||||||
*.msi) wine_run msiexec /i "$@" ;;
|
*.msi) wine_run msiexec /i "$@" ;;
|
||||||
|
Loading…
Reference in New Issue
Block a user