diff options
| author | frosty <gabriel@bwaaa.monster> | 2026-03-17 14:03:52 -0400 |
|---|---|---|
| committer | frosty <gabriel@bwaaa.monster> | 2026-03-17 14:03:52 -0400 |
| commit | b8663b4c9f4ae2fe5b09fcca1fc011376c56422e (patch) | |
| tree | f0a4b4f2aa5a1d13bd42564a3cdc6bbb7b3397a4 | |
| parent | 95178fdbc27ee779f08f4660a27b4f255305eed1 (diff) | |
| download | omnisearch-b8663b4c9f4ae2fe5b09fcca1fc011376c56422e.tar.gz | |
fix: update Makefile to overwrite templates/static and not overwrite config
| -rw-r--r-- | Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 |
