mirror of
https://github.com/YunoHost-Apps/snserver_ynh.git
synced 2024-09-03 20:26:22 +02:00
Fix: Upgrade script
This commit is contained in:
parent
8bfd66561a
commit
73a557aa1d
1 changed files with 1 additions and 1 deletions
|
@ -244,7 +244,7 @@ if [ -n $(ynh_app_setting_get --app="$app" --key=port) ]; then
|
|||
fi
|
||||
|
||||
# If old service exsits; remove it
|
||||
if [ -n $(cat /etc/yunohost/services.yml | grep "$app:") ]; then
|
||||
if grep -q "$app:" "/etc/yunohost/services.yml"; then
|
||||
yunohost service remove "$app"
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue