Skip to content

Open Source alternative to Algolia + Pinecone and an Easier-to-Use alternative to ElasticSearch ⚡ 🔍 ✨ Fast, typo tolerant, in-memory fuzzy Search Engine for building delightful search experiences

Ensure that RPM does not overwrite existing config file

Jason Bosco7be56bd57248
diff --git a/debian-pkg/generate_deb_rpm.sh b/debian-pkg/generate_deb_rpm.sh
index eb74d849..42a7b191 100755
--- a/debian-pkg/generate_deb_rpm.sh
+++ b/debian-pkg/generate_deb_rpm.sh
@@ -45,6 +45,7 @@ cd /tmp/typesense-rpm-build && alien --scripts -k -r -g -v /tmp/typesense-rpm-bu
sed -i 's#%dir "/"##' `find /tmp/typesense-rpm-build/*/*.spec -maxdepth 10 -type f`
sed -i 's#%dir "/usr/bin/"##' `find /tmp/typesense-rpm-build/*/*.spec -maxdepth 10 -type f`
+sed -i 's/%config/%config(noreplace)/g' `find /tmp/typesense-rpm-build/*/*.spec -maxdepth 10 -type f`
SPEC_FILE="/tmp/typesense-rpm-build/typesense-server-${TS_VERSION}/typesense-server-${TS_VERSION}-1.spec"
SPEC_FILE_COPY="/tmp/typesense-rpm-build/typesense-server-${TS_VERSION}/typesense-server-${TS_VERSION}-copy.spec"
diff --git a/docker/debugger.Dockerfile b/docker/debugger.Dockerfile
index 8fa66da4..ac216bfc 100644
--- a/docker/debugger.Dockerfile
+++ b/docker/debugger.Dockerfile
@@ -1,4 +1,4 @@
FROM ubuntu:18.04
RUN apt-get update
-RUN apt-get install -y gdb valgrindinit_db
\ No newline at end of file
+RUN apt-get install -y gdb valgrind
\ No newline at end of file