1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/opentracker_ynh.git synced 2024-09-03 19:46:34 +02:00

Update upgrade

This commit is contained in:
ericgaspar 2020-12-25 12:34:37 +01:00
parent 052b4893a4
commit baf9aef341
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -21,7 +21,6 @@ path_url=$(ynh_app_setting_get --app=$app --key=path)
is_public=$(ynh_app_setting_get --app=$app --key=is_public) is_public=$(ynh_app_setting_get --app=$app --key=is_public)
final_path=$(ynh_app_setting_get --app=$app --key=final_path) final_path=$(ynh_app_setting_get --app=$app --key=final_path)
#================================================= #=================================================
# CHECK VERSION # CHECK VERSION
#================================================= #=================================================
@ -71,7 +70,11 @@ then
ynh_script_progression --message="Upgrading source files..." --weight=1 ynh_script_progression --message="Upgrading source files..." --weight=1
# Download, check integrity, uncompress and patch the source from app.src # Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source --dest_dir="$final_path" git clone git://erdgeist.org/opentracker "$final_path" --quiet
pushd "$final_path" || ynh_die
ynh_exec_warn_less make
popd || ynh_die
fi fi
#================================================= #=================================================