quoting vars

This commit is contained in:
OniriCorpe
2024-01-17 01:43:15 +01:00
parent b11796f663
commit 9549a8d542
5 changed files with 26 additions and 26 deletions

View File

@ -16,10 +16,10 @@ source /usr/share/yunohost/helpers
#=================================================
# Remove the service from the list of services known by YunoHost (added from `yunohost service add`)
if ynh_exec_warn_less yunohost service status $app >/dev/null
if ynh_exec_warn_less yunohost service status "$app" >/dev/null
then
ynh_script_progression --message="Removing $app service integration..." --weight=1
yunohost service remove $app
yunohost service remove "$app"
fi
# Remove the dedicated systemd config