aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/rancid/files/patch-etc__Makefile.am
blob: 0619c990cd54eb343131ba9156e114defe5aff02 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
--- ./etc/Makefile.am.orig  2010-02-27 09:49:56.000000000 +0100
+++ ./etc/Makefile.am   2012-04-09 23:03:03.000000000 +0200
@@ -58,26 +58,8 @@
 endif
 
 install-data-local: all
-   @if test "$(DO_CONF_INSTALL)" = "yes"; then \
-   if test -f $(DESTDIR)$(sysconfdir)/rancid.conf ; then \
-       echo ""; \
-       echo "WARNING: *** $(DESTDIR)$(sysconfdir)/rancid.conf exists.  See "; \
-       echo "         *** $(pkgdatadir)/rancid.conf.sample for new"; \
-       echo "         *** examples."; \
-       echo ""; \
-   else \
-       $(INSTALL_DATA) rancid.conf.sample $(DESTDIR)$(sysconfdir)/rancid.conf; \
-   fi; \
-   if test -f $(DESTDIR)$(sysconfdir)/lg.conf ; then \
-       echo ""; \
-       echo "WARNING: *** $(DESTDIR)$(sysconfdir)/lg.conf exists.  See "; \
-       echo "         *** $(pkgdatadir)/lg.conf.sample for new"; \
-       echo "         *** examples."; \
-       echo ""; \
-   else \
-       $(INSTALL_DATA) lg.conf.sample $(DESTDIR)$(sysconfdir)/lg.conf; \
-   fi; \
-   fi
+   $(INSTALL_DATA) rancid.conf.sample $(DESTDIR)$(sysconfdir)
+   $(INSTALL_DATA) lg.conf.sample $(DESTDIR)$(sysconfdir)
 
 #clean:
 #  rm -f Makefile rancid.conf $(BIN_DATAS) $(BIN_PROGS)