Still didn't work

This commit is contained in:
Alex 2024-10-20 17:58:49 -03:00
parent 6c3004d5ee
commit cbd4ea4ae3
1 changed files with 6 additions and 1 deletions

View File

@ -112,7 +112,12 @@ install: verify_spir0
@$(SUDO) cp main.conf $(SYSCFG)/. @$(SUDO) cp main.conf $(SYSCFG)/.
# install cockpit # 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 # set up cockpit files
@$(SUDO) rm -rf /usr/share/cockpit/general/ @$(SUDO) rm -rf /usr/share/cockpit/general/