Commit 223b35c7 authored by Mikhail Tergoev's avatar Mikhail Tergoev

STABLE: Scripts version 2336

parent c4b44e30
......@@ -2,6 +2,9 @@ You can help us in the development of the project on the website: https://linux-
----------------------------------------
Changelog:
###Scripts version 2336### / stable /Date: 08.08.2024 / Download update size: 4 megabytes
* improved verification of downloaded files
###Scripts version 2335### / stable /Date: 07.08.2024 / Download update size: 4 megabytes
* cumulative update to the stable version of PortProton scripts
......
......@@ -2,6 +2,9 @@
-----------------------------------------
История изменений:
###Scripts version 2336### / stable / Дата: 08.08.2024 / Размер скачиваемого обновления: 4 мегабайта
* улучшение работы верификации скачанных файлов
###Scripts version 2335### / stable / Дата: 07.08.2024 / Размер скачиваемого обновления: 185 мегабайт
* кумулятивное обновление стабильной версии скриптов PortProton
......
......@@ -272,7 +272,7 @@ check_process () {
export -f check_process
try_check_sha256sum () {
SHA256SUM_EXT=$(curl -L --silent "${1//.tar*/}.sha256sum" | awk '{print $1}')
SHA256SUM_EXT=$(curl --silent -L "${1//.tar*/}.sha256sum" | awk '{print $1}')
if [[ ${#SHA256SUM_EXT} == 64 ]] ; then
SHA256SUM_INT=$(sha256sum "$dest" | awk '{print $1}')
if [[ "$SHA256SUM_EXT" == "$SHA256SUM_INT" ]] ; then
......@@ -366,7 +366,7 @@ try_download () {
fi
fi
print_ok "File downloaded successfully: $filename from ${FIRST_URL[0]}"
if try_check_sha256sum ${SECOND_URL[@]} ; then
if try_check_sha256sum ${FIRST_URL[@]} ; then
return 0
else
try_remove_file "$dest"
......
......@@ -466,6 +466,11 @@ use: [--repair] [--reinstall] [--autoinstall]
export PW_DEBUG="set -x"
/usr/bin/env bash -c ${pw_full_command_line[*]} 2>&1 | tee "$PORT_WINE_PATH/scripts-debug.log" &
exit 0 ;;
'--server-file-access' )
echo
curl -s --list-only "https://cloud.linux-gaming.ru/log/$(date +20%y_%m)_file_access.log" | sort -r
echo
exit 0 ;;
esac
### GUI ###
......
#!/usr/bin/env bash
#Author: Castro-Fidel (linux-gaming.ru)
#SCRIPTS_NEXT_VERSION=2335
#SCRIPTS_STABLE_VERSION=2335
#SCRIPTS_NEXT_VERSION=2336
#SCRIPTS_STABLE_VERSION=2336
########################################################################
export LANGUAGES_LIST="ru es"
export PW_VKBASALT="0"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment