File: 22_disableconf.dpatch

package info (click to toggle)
bandwidthd 2.0.1%2Bcvs20090917-4.1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 1,064 kB
  • ctags: 560
  • sloc: sh: 13,357; ansic: 2,743; php: 1,235; yacc: 216; makefile: 160; lex: 36; sql: 27
file content (18 lines) | stat: -rw-r--r-- 930 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#! /bin/sh /usr/share/dpatch/dpatch-run
## 22_disableconf.dpatch by Andreas Henriksson <andreas@fatal.se>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Disable installation of bandwidthd.conf from orig source

@DPATCH@
--- bandwidthd-2.0.1+cvs20050208.orig/Makefile.in
+++ bandwidthd-2.0.1+cvs20050208/Makefile.in
@@ -50,7 +50,7 @@
 	@INSTALL@ -d $(DESTDIR)$(sysconfdir)
 	@INSTALL@ -d $(DESTDIR)$(localstatedir)/bandwidthd/htdocs
 	@INSTALL@ -m755 -s bandwidthd $(DESTDIR)$(bindir)	
-	if [ ! -f $(DESTDIR)$(sysconfdir)/bandwidthd.conf ] ; then @INSTALL@ -m644 etc/bandwidthd.conf $(DESTDIR)$(sysconfdir); fi
+	#if [ ! -f $(DESTDIR)$(sysconfdir)/bandwidthd.conf ] ; then @INSTALL@ -m644 etc/bandwidthd.conf $(DESTDIR)$(sysconfdir); fi
 	@INSTALL@ -m644 htdocs/legend.gif $(DESTDIR)$(localstatedir)/bandwidthd/htdocs
 	@INSTALL@ -m644 htdocs/logo.gif $(DESTDIR)$(localstatedir)/bandwidthd/htdocs