From 445fd7a53f12c92290d2fa7033d8c187d9119317 Mon Sep 17 00:00:00 2001
From: Mikhail Tergoev <fidel@altlinux.org>
Date: Sat, 13 Jul 2024 10:07:54 +0300
Subject: [PATCH] update changelog

---
 data_from_portwine/changelog_en             | 3 +++
 data_from_portwine/changelog_ru             | 3 +++
 data_from_portwine/scripts/functions_helper | 3 ++-
 3 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/data_from_portwine/changelog_en b/data_from_portwine/changelog_en
index bad85c1a..9ea7729c 100755
--- a/data_from_portwine/changelog_en
+++ b/data_from_portwine/changelog_en
@@ -2,6 +2,9 @@ You can help us in the development of the project on the website: https://linux-
 ----------------------------------------
 Changelog:
 
+###Scripts version 2316### Date: 12.07.2024 / Download update size: 4 megabytes
+* HOTFIX - start on some system
+
 ###Scripts version 2315### Date: 12.07.2024 / Download update size: 4 megabytes
 * fixed the display of the PROTON_LG and WINE_LG versions in the absence of a settings file (thanks Htylol)
 * added the ability to run debugging scripts from the terminal: portproton --debug (thanks to Boria138 and Htylol)
diff --git a/data_from_portwine/changelog_ru b/data_from_portwine/changelog_ru
index 4e9e9c45..6d44aa0d 100755
--- a/data_from_portwine/changelog_ru
+++ b/data_from_portwine/changelog_ru
@@ -2,6 +2,9 @@
 -----------------------------------------
 История изменений:
 
+###Scripts version 2316### Дата: 13.07.2024 / Размер скачиваемого обновления: 4 мегабайта
+* HOTFIX - запуск на некоторых системах
+
 ###Scripts version 2315### Дата: 12.07.2024 / Размер скачиваемого обновления: 4 мегабайта
 * исправлено отображение версии PROTON_LG и WINE_LG при отсутствии файла настроек (спасибо Htylol)
 * добавлена возможность запуска отладки скриптов из терминала: portproton --debug (спасибо Boria138 и Htylol)
diff --git a/data_from_portwine/scripts/functions_helper b/data_from_portwine/scripts/functions_helper
index ff2dae8f..a9bc0f96 100755
--- a/data_from_portwine/scripts/functions_helper
+++ b/data_from_portwine/scripts/functions_helper
@@ -221,7 +221,8 @@ try_download () {
     esac
 
     if [[ -n "${PW_AUTOINSTALL_EXE}" ]] \
-    && [[ "$no_mirror" == "true" ]] ; then
+    && [[ "$no_mirror" == "true" ]]
+    then
         local filename="$(basename "${PW_AUTOINSTALL_EXE}")"
     else
         local filename="$(basename "$1")"