1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mautrix_whatsapp_ynh.git synced 2024-09-03 19:46:01 +02:00

correct upgrade permissions

This commit is contained in:
gredin67 2023-01-19 13:17:53 +01:00
parent b0d3c95bc1
commit dc4efb9a17

View file

@ -253,6 +253,10 @@ ynh_script_progression --message="Updating a configuration file..." --weight=2
ynh_add_config --template="../conf/config.yaml" --destination="$final_path/config.yaml"
yunohost app config set mautrix_whatsapp main.permissions.listuser
yunohost app config set mautrix_whatsapp main.permissions.listrelay
yunohost app config set mautrix_whatsapp main.permissions.listadmin
chmod 400 "$final_path/config.yaml"
chown $app:$app "$final_path/config.yaml"