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

Update install

This commit is contained in:
Éric Gaspar 2024-02-09 17:25:01 +01:00
parent ca3f178432
commit b94f7732da

View file

@ -16,7 +16,7 @@ source /usr/share/yunohost/helpers
#=================================================
ynh_script_progression --message="Setting up source files..." --weight=1
ynh_setup_source --dest_dir="$install_dir"
ynh_setup_source --dest_dir="$install_dir" --keep="app.json"
chown -R "$app:www-data" "$install_dir"
@ -49,12 +49,12 @@ popd
#=================================================
# ADD A CONFIGURATION
#=================================================
ynh_script_progression --message="Adding a configuration file..." --weight=1
#ynh_script_progression --message="Adding a configuration file..." --weight=1
ynh_add_config --template="app.json" --destination="$install_dir/app.json"
#ynh_add_config --template="app.json" --destination="$install_dir/app.json"
chmod 400 "$install_dir/app.json"
chown "$app:$app" "$install_dir/app.json"
#chmod 400 "$install_dir/app.json"
#chown "$app:$app" "$install_dir/app.json"
#=================================================
# GENERIC FINALIZATION