1
0
mirror of https://github.com/gophernicus/gophernicus.git synced 2024-06-16 06:25:23 +00:00

fix 'make install-root' clobbering existing gophermaps

This commit is contained in:
Mustached Squid 2022-06-17 15:09:47 +01:00
parent da3390089c
commit 1d6aeecfc7

View File

@ -142,7 +142,7 @@ install-man:
install-root:
$(INSTALL) -d -m 755 $(DESTDIR)$(ROOT)
$(INSTALL) -m 644 $(MAP).sample $(DESTDIR)$(ROOT)/gophermap
[ ! -f $(DESTDIR)$(ROOT)/gophermap ]$(INSTALL) -m 644 $(MAP).sample $(DESTDIR)$(ROOT)/gophermap
install-inetd-update: install-root
update-inetd --add "$$(sed -e "s:@BINARY_PATH@:$(SBINDIR)/$(BINARY):g" -e "s/@OPTIONS@/$(INETOPT)/g" init/inetlin.in)"