aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorfrosty <gabriel@bwaaa.monster>2026-03-17 14:03:52 -0400
committerfrosty <gabriel@bwaaa.monster>2026-03-17 14:03:52 -0400
commitb8663b4c9f4ae2fe5b09fcca1fc011376c56422e (patch)
treef0a4b4f2aa5a1d13bd42564a3cdc6bbb7b3397a4 /Makefile
parent95178fdbc27ee779f08f4660a27b4f255305eed1 (diff)
downloadomnisearch-b8663b4c9f4ae2fe5b09fcca1fc011376c56422e.tar.gz
fix: update Makefile to overwrite templates/static and not overwrite config
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index e6316f0..8dbc2d8 100644
--- a/Makefile
+++ b/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