Permalink
Browse files

Don't overwrite existing barnyard.conf at install.

  • Loading branch information...
1 parent 70517b9 commit beb744515cd30157c37923db49d46156fe8a67d4 @regit regit committed Oct 20, 2011
Showing with 3 additions and 2 deletions.
  1. +3 −2 etc/Makefile.am
View
@@ -1,6 +1,7 @@
## $Id$
AUTOMAKE_OPTIONS=foreign no-dependencies
-sysconf_DATA = barnyard2.conf
-
EXTRA_DIST = barnyard2.conf
+
+install-data-am:
+ test -e $(sysconfdir)/barnyard2.conf || install -m 600 $(top_srcdir)/etc/barnyard2.conf $(sysconfdir)

0 comments on commit beb7445

Please sign in to comment.