1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/timeoff_ynh.git synced 2024-09-03 20:35:59 +02:00
This commit is contained in:
ericgaspar 2022-02-10 11:16:03 +01:00
parent cc41557c94
commit d3da8bbc81
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 3 additions and 5 deletions

View file

@ -116,8 +116,7 @@ ynh_add_config --template="../conf/db.json" --destination="$final_path/config/db
#=================================================
ynh_script_progression --message="Configuring a systemd service..."
ynh_replace_string --match_string="__ENV_PATH__" --replace_string="$PATH" --target_file="../conf/systemd.service"
env_path="$PATH"
ynh_add_systemd_config
#=================================================

View file

@ -109,7 +109,7 @@ ynh_exec_warn_less ynh_install_nodejs --nodejs_version=$nodejs_version
if [ "$upgrade_type" == "UPGRADE_APP" ]
then
ynh_script_progression --message="Upgrading the lounge..."
ynh_script_progression --message="Upgrading TimeOff..."
pushd $final_path
ynh_use_nodejs
ynh_exec_warn_less $ynh_npm cache clean
@ -130,8 +130,7 @@ ynh_add_config --template="../conf/db.json" --destination="$final_path/config/db
#=================================================
ynh_script_progression --message="Upgrading systemd configuration..."
ynh_replace_string --match_string="__ENV_PATH__" --replace_string="$PATH" --target_file="../conf/systemd.service"
env_path="$PATH"
ynh_add_systemd_config
#=================================================