Code

Installing config file to /etc/collectd/.
authorSebastian Harl <sh@tokkee.org>
Sun, 23 Jul 2006 10:51:43 +0000 (12:51 +0200)
committerSebastian Harl <sh@tokkee.org>
Sun, 23 Jul 2006 10:51:43 +0000 (12:51 +0200)
No longer installing config file to /usr/share/doc/collectd/examples/.

debian/rules

index 3b0d54d6969eeefbadf7b7002c7900c042f1aaee..b0ea78d858d82a79c693e571c7c41035212a693a 100755 (executable)
@@ -64,9 +64,9 @@ install-arch: build
        
        rm -f $(CURDIR)/debian/collectd/usr/lib/collectd/*.la
        
-       doc_dir=$(CURDIR)/debian/collectd/usr/share/doc/collectd/examples \
-               && mkdir -p $$doc_dir \
-               && mv $(CURDIR)/debian/collectd/etc/collectd.conf $$doc_dir
+       rm -f $(CURDIR)/debian/collectd/etc/collectd.conf
+       install -D -m 0644 $(CURDIR)/debian/collectd.conf \
+               $(CURDIR)/debian/collectd/etc/collectd/collectd.conf
        
        for PLUGIN in apache hddtemp mysql ping sensors; do \
                plugin_dir=$(CURDIR)/debian/collectd-$$PLUGIN/usr/lib/collectd/; \