1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/UMS_ynh.git synced 2024-10-01 13:35:01 +02:00

Prepare for auto-updater

This commit is contained in:
Krakinou 2022-12-18 20:03:47 +01:00
parent 7c8627a00f
commit 9218ebf701

View file

@ -89,7 +89,7 @@ then
ynh_script_progression --message="Upgrading source files..." --weight=5
# Download, check integrity, uncompress and patch the source from app.src
ynh_add_config --template="../conf/app.src.default" --destination="../conf/app.src"
ynh_add_config --template="../conf/app.$mach.src" --destination="../conf/app.src"
ynh_setup_source --dest_dir="$final_path"
tar xfvz $final_path/app.tgz --strip-component=1 --directory=$final_path/
ynh_secure_remove $final_path/app.tgz