1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/facilmap_ynh.git synced 2024-09-03 18:36:07 +02:00
This commit is contained in:
ericgaspar 2021-06-26 21:39:20 +02:00
parent 7ae456b0e6
commit 111de42fd1
No known key found for this signature in database
GPG key ID: 574F281483054D44
4 changed files with 1 additions and 17 deletions

View file

@ -8,6 +8,7 @@
pkg_dependencies=""
nodejs_version=14
facilmap_version=3.1.0
#=================================================

View file

@ -58,12 +58,6 @@ ynh_script_progression --message="Removing dependencies..." --weight=3
# Remove metapackage and its dependencies
ynh_remove_app_dependencies
#=================================================
# REMOVE NODEJS
#=================================================
ynh_script_progression --message="Removing NodeJS version for facilmap..." --weight=4
ynh_remove_nodejs
#=================================================

View file

@ -79,7 +79,6 @@ ynh_script_progression --message="Reinstalling dependencies..." --weight=10
# Define and install dependencies
ynh_install_app_dependencies $pkg_dependencies
ynh_install_nodejs --nodejs_version=$nodejs_version
#=================================================
@ -114,14 +113,6 @@ ynh_script_progression --message="Starting a systemd service..." --weight=5
ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --line_match="Server started"
#=================================================
# RESTORE VARIOUS FILES
#=================================================
#ynh_restore_file --origin_path="/etc/cron.d/$app"
#ynh_restore_file --origin_path="/etc/$app/"
#=================================================
# RESTORE THE LOGROTATE CONFIGURATION
#=================================================

View file

@ -95,7 +95,6 @@ ynh_add_nginx_config
ynh_script_progression --message="Upgrading dependencies..." --weight=10
ynh_install_app_dependencies $pkg_dependencies
ynh_install_nodejs --nodejs_version=$nodejs_version
#=================================================
@ -111,7 +110,6 @@ pushd "$final_path"
ynh_exec_as "$app" "$ynh_node_load_PATH" "$ynh_npm" install --prefix "$final_path" -g facilmap-server@"$facilmap_version"
popd
#=================================================
# SETUP SYSTEMD
#=================================================