1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/open-web-calendar_ynh.git synced 2024-09-03 19:56:09 +02:00
This commit is contained in:
Éric Gaspar 2024-08-31 12:24:42 +02:00
parent ff637aad7a
commit c5c52e990c
2 changed files with 6 additions and 6 deletions

View file

@ -10,7 +10,7 @@ source /usr/share/yunohost/helpers
#================================================= #=================================================
ynh_script_progression "Setting up source files..." ynh_script_progression "Setting up source files..."
ynh_setup_source --dest_dir="$install_dir" --keep="app.json" ynh_setup_source --dest_dir="$install_dir"
#================================================= #=================================================
# SYSTEM CONFIGURATION # SYSTEM CONFIGURATION

View file

@ -17,7 +17,7 @@ ynh_systemctl --service="$app" --action="stop" --log_path="systemd"
#================================================= #=================================================
ynh_script_progression "Upgrading source files..." ynh_script_progression "Upgrading source files..."
ynh_setup_source --dest_dir="$install_dir" ynh_setup_source --dest_dir="$install_dir" --keep="app.json"
#================================================= #=================================================
# REAPPLY SYSTEM CONFIGURATIONS # REAPPLY SYSTEM CONFIGURATIONS
@ -46,12 +46,12 @@ popd
#================================================= #=================================================
# UPDATE A CONFIG FILE # UPDATE A CONFIG FILE
#================================================= #=================================================
ynh_script_progression "Updating configuration..." #ynh_script_progression "Updating configuration..."
ynh_config_add --template="app.json" --destination="$install_dir/app.json" #ynh_config_add --template="app.json" --destination="$install_dir/app.json"
chmod 400 "$install_dir/app.json" #chmod 400 "$install_dir/app.json"
chown "$app:$app" "$install_dir/app.json" #chown "$app:$app" "$install_dir/app.json"
#================================================= #=================================================
# START SYSTEMD SERVICE # START SYSTEMD SERVICE