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:
parent
b0d3c95bc1
commit
dc4efb9a17
1 changed files with 4 additions and 0 deletions
|
@ -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"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue