From ebc1462c4e054d9873ad992d2c2c11f22a0c8d0b Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 10 Jul 2007 10:40:49 +0000 Subject: [PATCH] Debian installed pazpar2.cfg is based on etc/pazpar2.cfg.dist with cfg.patch applied. --- debian/cfg.patch | 5 +++++ debian/pazpar2.cfg | 22 ---------------------- debian/rules | 3 ++- 3 files changed, 7 insertions(+), 23 deletions(-) create mode 100644 debian/cfg.patch delete mode 100644 debian/pazpar2.cfg 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/ -- 1.7.10.4