From 564ed9aaf6d41f79f019af07ec9c81b706d8205f Mon Sep 17 00:00:00 2001 From: castro-fidel Date: Tue, 31 May 2022 15:11:57 +0300 Subject: [PATCH] Scripts version 2112 --- data_from_portwine/changelog_eng | 3 +++ data_from_portwine/changelog_rus | 3 +++ data_from_portwine/scripts/functions_helper | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/data_from_portwine/changelog_eng b/data_from_portwine/changelog_eng index 5b33455..8199936 100644 --- a/data_from_portwine/changelog_eng +++ b/data_from_portwine/changelog_eng @@ -2,6 +2,9 @@ You can help us in the development of the project on the website: boosty.to/port ----------------------------------------- Changelog: +###Scripts version 2111### +* HOTFIX + ###Scripts version 2111### * optimized launch PortProton in Rosa Linux diff --git a/data_from_portwine/changelog_rus b/data_from_portwine/changelog_rus index aa0531a..cdeba72 100755 --- a/data_from_portwine/changelog_rus +++ b/data_from_portwine/changelog_rus @@ -2,6 +2,9 @@ ----------------------------------------- История изменений: +###Scripts version 2111### +* HOTFIX + ###Scripts version 2111### * ускорен запуск PortProton в Rosa Linux diff --git a/data_from_portwine/scripts/functions_helper b/data_from_portwine/scripts/functions_helper index 77dd591..91ec532 100755 --- a/data_from_portwine/scripts/functions_helper +++ b/data_from_portwine/scripts/functions_helper @@ -63,7 +63,7 @@ try_remove_dir () { export -f try_remove_dir try_force_link_file () { - if [ ! -f "$1" ] ; return 1 + if [ ! -f "$1" ] ; then return 1 elif [ -z "$2" ] ; then print_error "no way to link file $1" else ln -sf "$1" "$2"