summaryrefslogtreecommitdiff
path: root/net-mgmt/rancid-devel/files/patch-etc::Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/rancid-devel/files/patch-etc::Makefile.am')
-rw-r--r--net-mgmt/rancid-devel/files/patch-etc::Makefile.am29
1 files changed, 29 insertions, 0 deletions
diff --git a/net-mgmt/rancid-devel/files/patch-etc::Makefile.am b/net-mgmt/rancid-devel/files/patch-etc::Makefile.am
new file mode 100644
index 000000000000..e4805556c2c8
--- /dev/null
+++ b/net-mgmt/rancid-devel/files/patch-etc::Makefile.am
@@ -0,0 +1,29 @@
+--- etc/Makefile.am.orig Sun Jan 18 02:30:29 2004
++++ etc/Makefile.am Sun Jan 18 02:32:16 2004
+@@ -29,24 +29,8 @@
+ CLEANFILES= $(pkgdata_DATA)
+
+ install-data-local: all
+- @if test -f $(sysconfdir)/rancid.conf ; then \
+- echo ""; \
+- echo "WARNING: *** $(sysconfdir)/rancid.conf exists. See "; \
+- echo " *** $(pkgdatadir)/rancid.conf.sample for new"; \
+- echo " *** examples."; \
+- echo ""; \
+- else \
+- $(INSTALL_DATA) rancid.conf.sample $(sysconfdir)/rancid.conf; \
+- fi; \
+- if test -f $(sysconfdir)/lg.conf ; then \
+- echo ""; \
+- echo "WARNING: *** $(sysconfdir)/lg.conf exists. See "; \
+- echo " *** $(pkgdatadir)/lg.conf.sample for new"; \
+- echo " *** examples."; \
+- echo ""; \
+- else \
+- $(INSTALL_DATA) lg.conf.sample $(sysconfdir)/lg.conf; \
+- fi;
++ $(INSTALL_DATA) rancid.conf.sample $(sysconfdir)/ \
++ $(INSTALL_DATA) lg.conf.sample $(sysconfdir)/
+
+ #clean:
+ # rm -f Makefile rancid.conf $(BIN_DATAS) $(BIN_PROGS)