From 1838e272f4aec101df54f94194d8849ec986a02b Mon Sep 17 00:00:00 2001 From: Thomas Kuschel Date: Wed, 24 Jul 2024 01:49:34 +0200 Subject: [PATCH] FIX creation of temp folder --- gitea/download_update_gitea.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gitea/download_update_gitea.sh b/gitea/download_update_gitea.sh index 11986a9..0611ece 100755 --- a/gitea/download_update_gitea.sh +++ b/gitea/download_update_gitea.sh @@ -10,7 +10,7 @@ file_prefix="gitea" file_suffix="linux-amd64" install_dir="/usr/local/bin" file_gitea="gitea" -temp_folder="temp08154711" +temp_folder="temp.gitea.08154711" temp_file=${temp_folder}/${file_gitea} # get the latest version with the website_latest uri to github: @@ -41,6 +41,7 @@ else if [[ $REPLY =~ ^[YyJj]$ ]] then uri=${website_uri}/${version}/${file_prefix}-${version}-${file_suffix} + mkdir -p ${temp_folder} cd ${temp_folder} wget -O ${file_gitea} --show-progress ${uri} wget -O ${file_gitea}.sha256 ${uri}.sha256