diff --git a/scripts/install b/scripts/install index 9824915..fedc51c 100644 --- a/scripts/install +++ b/scripts/install @@ -97,6 +97,11 @@ ynh_app_setting_set --app=$app --key=final_path --value=$final_path # Download, check integrity, uncompress and patch the source from app.src ynh_setup_source --dest_dir=$final_path --source_id="$architecture" +pushd "$final_path" + gzip --decompress $(ynh_detect_arch).gz + mv $(ynh_detect_arch) $app +popd + chmod 750 "$final_path" chmod -R o-rwx "$final_path" chown -R $app:www-data "$final_path" diff --git a/scripts/upgrade b/scripts/upgrade index 963eea5..a9ceb14 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -115,6 +115,11 @@ then 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 + chmod 750 "$final_path" chmod -R o-rwx "$final_path" chown -R $app:www-data "$final_path"