uninstalling module openrc file uses -f flag to avoid errors

This commit is contained in:
2026-07-03 10:17:01 +01:00
parent 9cabb1053d
commit 1dab2c159a
+1 -1
View File
@@ -21,7 +21,7 @@ uninstall_openrc_$(module):
$(if $(is_openrc_module),\ $(if $(is_openrc_module),\
rc-service -U joeac.net.$(module) stop; \ rc-service -U joeac.net.$(module) stop; \
rc-update -U del joeac.net.$(module) default; \ rc-update -U del joeac.net.$(module) default; \
rm ~/.config/rc/init.d/joeac.net.$(module); \ rm -f ~/.config/rc/init.d/joeac.net.$(module); \
) )
endef endef