summaryrefslogtreecommitdiff
path: root/www/lynx-current/files/patch-aa
blob: 6d54024372fb0afbb13dad468836987c20929cd2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- makefile.in.orig	Tue May 25 21:13:02 1999
+++ makefile.in	Tue May 25 23:27:44 1999
@@ -407,8 +407,8 @@
 	PATH=$(srcdir):$$PATH; export PATH; $(SHELL) -c '$(srcdir)/cfg_defs.sh'
 
 install-cfg : $(LIBDIR)
-	-mv -f $(LIBDIR)/lynx.cfg $(LIBDIR)/lynx.oldcfg
-	$(INSTALL_DATA) $(srcdir)/lynx.cfg $(LIBDIR)/lynx.cfg
+	$(INSTALL_DATA) $(srcdir)/lynx.cfg $(LIBDIR)/lynx.cfg.default
+	-[ ! -f $(libdir)/lynx.cfg ] && $(INSTALL_DATA) $(srcdir)/lynx.cfg $(libdir)/lynx.cfg
 
 install-lss : $(LIBDIR)
 	-mv -f $(LIBDIR)/lynx.lss $(LIBDIR)/lynx.oldlss