Still didn't work
This commit is contained in:
parent
6c3004d5ee
commit
cbd4ea4ae3
7
Makefile
7
Makefile
|
@ -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/
|
||||||
|
|
Loading…
Reference in New Issue