mirror of
https://git.bwaaa.monster/omnisearch
synced 2026-03-25 17:19:02 +02:00
fix: update Makefile to overwrite templates/static and not overwrite config
This commit is contained in:
8
Makefile
8
Makefile
@@ -70,7 +70,7 @@ install-systemd: $(TARGET)
|
||||
@mkdir -p $(DATA_DIR)/templates $(DATA_DIR)/static $(LOG_DIR) $(CACHE_DIR)
|
||||
@cp -rf templates/* $(DATA_DIR)/templates/
|
||||
@cp -rf static/* $(DATA_DIR)/static/
|
||||
@cp example-config.ini $(DATA_DIR)/config.ini
|
||||
@cp -n example-config.ini $(DATA_DIR)/config.ini
|
||||
install -m 755 $(TARGET) $(INSTALL_BIN_DIR)/omnisearch
|
||||
@echo "Setting up user '$(USER)'..."
|
||||
@(grep -q '^$(GROUP):' /etc/group || groupadd $(GROUP)) 2>/dev/null || true
|
||||
@@ -88,7 +88,7 @@ install-openrc: $(TARGET)
|
||||
@mkdir -p $(DATA_DIR)/templates $(DATA_DIR)/static $(LOG_DIR) $(CACHE_DIR)
|
||||
@cp -rf templates/* $(DATA_DIR)/templates/
|
||||
@cp -rf static/* $(DATA_DIR)/static/
|
||||
@cp example-config.ini $(DATA_DIR)/config.ini
|
||||
@cp -n example-config.ini $(DATA_DIR)/config.ini
|
||||
install -m 755 $(TARGET) $(INSTALL_BIN_DIR)/omnisearch
|
||||
@echo "Setting up user '$(USER)'..."
|
||||
@(grep -q '^$(GROUP):' /etc/group || groupadd $(GROUP)) 2>/dev/null || true
|
||||
@@ -106,7 +106,7 @@ install-runit: $(TARGET)
|
||||
@mkdir -p $(DATA_DIR)/templates $(DATA_DIR)/static $(LOG_DIR) $(CACHE_DIR)
|
||||
@cp -rf templates/* $(DATA_DIR)/templates/
|
||||
@cp -rf static/* $(DATA_DIR)/static/
|
||||
@cp example-config.ini $(DATA_DIR)/config.ini
|
||||
@cp -n example-config.ini $(DATA_DIR)/config.ini
|
||||
install -m 755 $(TARGET) $(INSTALL_BIN_DIR)/omnisearch
|
||||
@echo "Setting up user '$(USER)'..."
|
||||
@(grep -q '^$(GROUP):' /etc/group || groupadd $(GROUP)) 2>/dev/null || true
|
||||
@@ -127,7 +127,7 @@ install-s6: $(TARGET)
|
||||
@mkdir -p $(DATA_DIR)/templates $(DATA_DIR)/static $(LOG_DIR) $(CACHE_DIR)
|
||||
@cp -rf templates/* $(DATA_DIR)/templates/
|
||||
@cp -rf static/* $(DATA_DIR)/static/
|
||||
@cp example-config.ini $(DATA_DIR)/config.ini
|
||||
@cp -n example-config.ini $(DATA_DIR)/config.ini
|
||||
install -m 755 $(TARGET) $(INSTALL_BIN_DIR)/omnisearch
|
||||
@echo "Setting up user '$(USER)'..."
|
||||
@(grep -q '^$(GROUP):' /etc/group || groupadd $(GROUP)) 2>/dev/null || true
|
||||
|
||||
Reference in New Issue
Block a user