look for config files in standard location on installation
This commit is contained in:
2
Makefile
2
Makefile
@@ -25,6 +25,6 @@ SYSTEMD_DIR = $(DESTDIR)$(PREFIX)/lib/systemd/system
|
||||
.PHONY: install
|
||||
|
||||
install:
|
||||
@sed -i 's@^SNAPPER_CONFIG.*@SNAPPER_CONFIG='$(SNAPPER_CONFIG)'@g' bin/$(PKGNAME)
|
||||
@./find_snapper_config || sed -i 's@^SNAPPER_CONFIG.*@SNAPPER_CONFIG='$(SNAPPER_CONFIG)'@g' bin/$(PKGNAME)
|
||||
@install -Dm755 bin/* -t $(BIN_DIR)/
|
||||
@install -Dm644 systemd/* -t $(SYSTEMD_DIR)/
|
||||
|
||||
Reference in New Issue
Block a user