From a7147d5c9c24134a71c606de96c8d37183a451d1 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Wed, 19 Jan 2022 15:56:07 +0100 Subject: [PATCH] Update upgrade --- scripts/upgrade | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index a9ceb14..8a3db4d 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -113,12 +113,12 @@ then # Download, check integrity, uncompress and patch the source from app.src ynh_setup_source --dest_dir=$final_path --source_id="$architecture" #--keep="$final_path/config.yml" -fi -pushd "$final_path" - gzip --decompress $(ynh_detect_arch).gz - mv $(ynh_detect_arch) $app -popd + pushd "$final_path" + gzip --decompress $(ynh_detect_arch).gz + mv $(ynh_detect_arch) $app + popd +fi chmod 750 "$final_path" chmod -R o-rwx "$final_path"