1
0
Fork 0
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:
Fabian Wilkens 2021-07-11 19:26:21 +02:00
parent 8bfd66561a
commit 73a557aa1d
No known key found for this signature in database
GPG key ID: 23DFA025BB4E9FAB

View file

@ -244,7 +244,7 @@ if [ -n $(ynh_app_setting_get --app="$app" --key=port) ]; then
fi fi
# If old service exsits; remove it # 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" yunohost service remove "$app"
fi fi