From: Adam Dickmeiss Date: Tue, 10 Jul 2007 10:40:49 +0000 (+0000) Subject: Debian installed pazpar2.cfg is based on etc/pazpar2.cfg.dist with X-Git-Tag: PAZPAR2.1.0.2~67 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=ebc1462c4e054d9873ad992d2c2c11f22a0c8d0b;p=pazpar2-moved-to-github.git Debian installed pazpar2.cfg is based on etc/pazpar2.cfg.dist with cfg.patch applied. --- diff --git a/debian/cfg.patch b/debian/cfg.patch new file mode 100644 index 0000000..380a1d6 --- /dev/null +++ b/debian/cfg.patch @@ -0,0 +1,5 @@ +6,7c6 +< +< +--- +> diff --git a/debian/pazpar2.cfg b/debian/pazpar2.cfg deleted file mode 100644 index 0a83260..0000000 --- a/debian/pazpar2.cfg +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - diff --git a/debian/rules b/debian/rules index fc53d59..483ee3e 100755 --- a/debian/rules +++ b/debian/rules @@ -78,7 +78,8 @@ binary-arch: build install # pazpar2-doc package mv $(CURDIR)/debian/pazpar2/usr/share/doc/pazpar2/* $(CURDIR)/debian/pazpar2-doc/usr/share/doc/pazpar2-doc # pazpar2-apache2 package - cp $(CURDIR)/debian/pazpar2.cfg $(CURDIR)/debian/pazpar2/etc/pazpar2/ + cp $(CURDIR)/etc/pazpar2.cfg.dist $(CURDIR)/debian/pazpar2.cfg + patch $(CURDIR)/debian/pazpar2.cfg $(CURDIR)/debian/cfg.patch cp etc/settings/*.xml $(CURDIR)/debian/pazpar2/etc/pazpar2/settings/ cp etc/*.xml $(CURDIR)/debian/pazpar2/etc/pazpar2/settings/ cp etc/*.xsl $(CURDIR)/debian/pazpar2/etc/pazpar2/