Code

Fix shebang line in examples/iptables/accounting.sh.
authorSebastian Harl <sh@tokkee.org>
Sun, 29 Apr 2007 20:31:25 +0000 (22:31 +0200)
committerSebastian Harl <sh@tokkee.org>
Sun, 29 Apr 2007 20:31:25 +0000 (22:31 +0200)
debian/rules

index dc77e8159af74fbd44e8906d38e5bfcf72d167fd..a83d0de3cb5330b835ba71d497bcf9faf86ce268 100755 (executable)
@@ -113,6 +113,8 @@ binary-arch: build install-arch
                AUTHORS README TODO
        dh_installexamples -a contrib/collectd2html.pl contrib/collection.cgi \
                contrib/PerlLib/ contrib/SpamAssassin/ contrib/iptables/
+       sed -i -e 's/#\/bin\/bash/#!\/bin\/bash/' \
+               debian/collectd/usr/share/doc/collectd/examples/iptables/accounting.sh
        dh_installdebconf -a
        dh_installinit -a -- defaults 95
        dh_installman -a src/collectd.1 src/collectd.conf.5