From b79037c055020767217a426177e05bc414b685ad Mon Sep 17 00:00:00 2001 From: Joe Carstairs Date: Wed, 1 Jul 2026 18:20:01 +0100 Subject: [PATCH] only install openrc module if it is an openrc module --- openrc.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openrc.mk b/openrc.mk index 202aabf..47ddb7f 100644 --- a/openrc.mk +++ b/openrc.mk @@ -3,7 +3,7 @@ openrc_module_target = $(if $(is_openrc_module),~/.config/rc/init.d/joeac.net.$( define install_openrc_module_rule = .PHONY: install_openrc_$(module) -install_openrc_$(module): $(openrc_module_target) openrc_add_$(module) openrc_start_$(module) +install_openrc_$(module): $(if $(is_openrc_module),$(openrc_module_target) openrc_add_$(module) openrc_start_$(module)) ~/.config/rc/init.d/joeac.net.$(module): ~/.config/rc/init.d/joeac.net ~/.config/rc/runlevels/default ln -s $(shell realpath ~)/.config/rc/init.d/joeac.net ~/.config/rc/init.d/joeac.net.$(module)