1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/garradin_ynh.git synced 2024-09-03 18:36:17 +02:00

clean syntax for scripts with new release helpers in yunohost

This commit is contained in:
Robles Rodolphe 2021-03-29 20:32:24 +02:00
parent 8a2ff1a1ae
commit 2f5ec708a2

View file

@ -77,7 +77,11 @@ ynh_abort_if_errors
#=================================================
ynh_script_progression --message="Upgrading source files..." --weight=5
$upgrade_type == "UPGRADE_APP"
if [ "$upgrade_type" == "UPGRADE_APP" ]
then
# Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source --dest_dir="$final_path"
fi
#=================================================
# CREATE DEDICATED USER