1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/snappymail_ynh.git synced 2024-09-03 20:26:29 +02:00

Update upgrade

This commit is contained in:
Éric Gaspar 2024-09-01 17:07:29 +02:00
parent 6723caa9bf
commit 2459a7c81b

View file

@ -27,13 +27,13 @@ ynh_setup_source --dest_dir="$install_dir/app" --full_replace --keep="app/data/_
#================================================= #=================================================
# UPDATE A CONFIG FILE # UPDATE A CONFIG FILE
#================================================= #=================================================
ynh_script_progression "Updating configuration..." #ynh_script_progression "Updating configuration..."
mkdir -p "$install_dir/app/data/_data_/_default_/configs" #mkdir -p "$install_dir/app/data/_data_/_default_/configs"
ynh_config_add --template="application.ini" --destination="$install_dir/app/data/_data_/_default_/configs/application.ini" #ynh_config_add --template="application.ini" --destination="$install_dir/app/data/_data_/_default_/configs/application.ini"
chmod -R "u=rwX,g=,o=" "$install_dir/app/data" #chmod -R "u=rwX,g=,o=" "$install_dir/app/data"
chown -R "$app:$app" "$install_dir/app/data" #chown -R "$app:$app" "$install_dir/app/data"
#================================================= #=================================================
# SETUP SSO # SETUP SSO