forked from CastroFidel/winehelper
fixed checking the file definition during application installation
This commit is contained in:
@@ -2183,7 +2183,7 @@ select_component_version() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
run_install_to_prefix() {
|
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 <имя_префикса> <путь_к_установщику>"
|
fatal "Использование: $SCRIPT_NAME install-to-prefix <имя_префикса> <путь_к_установщику>"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user