summaryrefslogtreecommitdiff
path: root/pcr/gophernicus/preserve-existing-gophermap.patch
diff options
context:
space:
mode:
authorIván Ávalos <avalos@disroot.org>2022-07-28 00:38:51 -0500
committerIván Ávalos <avalos@disroot.org>2022-07-28 00:38:51 -0500
commit3c5694e2fc30a846f438b05579ba827725e04c11 (patch)
tree30f5e5c14fee09d77dc2c54e1c87bcbe40002232 /pcr/gophernicus/preserve-existing-gophermap.patch
parente4e3858e06dcaf7bf037aa0840a2db43133f5c52 (diff)
parent2187e3ffefad9f0133cede7f90cdda88c955b44d (diff)
downloadabslibre-wip-linux-libre-64.tar.gz
abslibre-wip-linux-libre-64.tar.bz2
abslibre-wip-linux-libre-64.zip
Merge branch 'wip-linux-libre-64' of git://git.parabola.nu/abslibre/abslibre into wip-linux-libre-64wip-linux-libre-64
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"