From cbd4ea4ae3e2d5fd8e4d445fe140827f65dd3bcf Mon Sep 17 00:00:00 2001 From: Alex Date: Sun, 20 Oct 2024 17:58:49 -0300 Subject: [PATCH] Still didn't work --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b284705..0de94e9 100644 --- a/Makefile +++ b/Makefile @@ -112,7 +112,12 @@ install: verify_spir0 @$(SUDO) cp main.conf $(SYSCFG)/. # install cockpit - @$(SUDO) ./ensure-cockpit.sh + @if [ -x "$(CURDIR)/ensure-cockpit.sh" ]; then \ + $(SUDO) $(CURDIR)/ensure-cockpit.sh; \ + else \ + echo "Error: ensure-cockpit.sh not found or not executable"; \ + exit 1; \ + fi # set up cockpit files @$(SUDO) rm -rf /usr/share/cockpit/general/