fix: remove logrotate check
There is no chance to check it correctly
This commit is contained in:
parent
b4caaeb9fe
commit
f8481df938
@ -48,7 +48,6 @@ KF2BETADIR = $(GAMEDIR)/$(NAME)-beta
|
|||||||
|
|
||||||
BASHCHECK := bash -n
|
BASHCHECK := bash -n
|
||||||
SYSTEMDCHECK := systemd-analyze verify
|
SYSTEMDCHECK := systemd-analyze verify
|
||||||
LOGROTATECHECK := logrotate -d
|
|
||||||
XMLCHECK := xmllint --noout
|
XMLCHECK := xmllint --noout
|
||||||
|
|
||||||
.PHONY: build fake-systemd-build install uninstall filesystem test clean all
|
.PHONY: build fake-systemd-build install uninstall filesystem test clean all
|
||||||
@ -154,10 +153,6 @@ uninstall:
|
|||||||
rm -rf $(CACHEDIR)
|
rm -rf $(CACHEDIR)
|
||||||
|
|
||||||
test: fake-systemd-build
|
test: fake-systemd-build
|
||||||
ifeq ($(shell $(LOGROTATECHECK) $(RELEASEDIR)/main/logrotate/$(NAME) 2>&1 | grep -qi 'error'; echo $$?), 0)
|
|
||||||
$(LOGROTATECHECK) $(RELEASEDIR)/main/logrotate/$(NAME)
|
|
||||||
endif
|
|
||||||
|
|
||||||
$(XMLCHECK) $(RELEASEDIR)/main/firewalld/$(NAME).xml
|
$(XMLCHECK) $(RELEASEDIR)/main/firewalld/$(NAME).xml
|
||||||
|
|
||||||
$(SYSTEMDCHECK) $(RELEASEDIR)/main/systemd/$(NAME)@.service
|
$(SYSTEMDCHECK) $(RELEASEDIR)/main/systemd/$(NAME)@.service
|
||||||
|
Loading…
Reference in New Issue
Block a user