mirror of
https://github.com/YunoHost-Apps/dendrite_ynh.git
synced 2024-09-03 18:25:58 +02:00
Make sure user belongs to ssl-cert while upgrading
This commit is contained in:
parent
620d6f7c31
commit
026c8ebccd
1 changed files with 5 additions and 1 deletions
|
@ -33,7 +33,11 @@ upgrade_type=$(ynh_check_app_version_changed)
|
|||
#=================================================
|
||||
# ENSURE DOWNWARD COMPATIBILITY
|
||||
#=================================================
|
||||
#ynh_script_progression --message="Ensuring downward compatibility..." --weight=1
|
||||
ynh_script_progression --message="Ensuring downward compatibility..." --weight=1
|
||||
|
||||
if ! groups $app | grep -q 'ssl-cert'; then
|
||||
adduser $app ssl-cert
|
||||
fi
|
||||
|
||||
#=================================================
|
||||
# BACKUP BEFORE UPGRADE THEN ACTIVE TRAP
|
||||
|
|
Loading…
Add table
Reference in a new issue