summaryrefslogtreecommitdiff
path: root/pcr/gophernicus/preserve-existing-gophermap.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/gophernicus/preserve-existing-gophermap.patch')
-rw-r--r--pcr/gophernicus/preserve-existing-gophermap.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/pcr/gophernicus/preserve-existing-gophermap.patch b/pcr/gophernicus/preserve-existing-gophermap.patch
new file mode 100644
index 000000000..544339113
--- /dev/null
+++ b/pcr/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"