FIX creation of temp folder
This commit is contained in:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user