summaryrefslogtreecommitdiff
path: root/pcr-testing/gophernicus/preserve-existing-gophermap.patch
diff options
context:
space:
mode:
authorbill-auger <mr.j.spam.me@gmail.com>2021-04-27 16:29:45 -0400
committerbill-auger <mr.j.spam.me@gmail.com>2021-04-27 16:43:53 -0400
commit5e3953bc7db3864c86648fb3b2669ddf4a9b2a42 (patch)
tree53c1394bb976da0280ac82e15b46c03fd3b78092 /pcr-testing/gophernicus/preserve-existing-gophermap.patch
parentf8a3149c1c208ec018562cdc047790f038040a86 (diff)
[gophernicus]: add package
Diffstat (limited to 'pcr-testing/gophernicus/preserve-existing-gophermap.patch')
-rw-r--r--pcr-testing/gophernicus/preserve-existing-gophermap.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/pcr-testing/gophernicus/preserve-existing-gophermap.patch b/pcr-testing/gophernicus/preserve-existing-gophermap.patch
new file mode 100644
index 000000000..544339113
--- /dev/null
+++ b/pcr-testing/gophernicus/preserve-existing-gophermap.patch
@@ -0,0 +1,15 @@
+diff --git a/configure b/configure
+index d54dc29..067affe 100755
+--- a/configure
++++ b/configure
+@@ -280,9 +280,9 @@ printf "\\n"
+ # Don't replace an existing root
+ printf "checking for existing gopher root... "
+ if [ -d "${GOPHERROOT}" ] || [ -f "${GOPHERROOT}/gophermap" ]; then
+- INSTALL_ROOT="install-root"
+ printf "yes"
+ else
++ INSTALL_ROOT="install-root"
+ printf "no"
+ fi
+ printf "\\n"