From 42dacbb729502f008f91000e27415c79c3b61e53 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Fri, 27 Jun 2014 15:49:44 +0200 Subject: [PATCH] Fix version passed to dpkg-maintscript-helper rm_conffile --- debian/changelog | 6 ++++++ debian/pazpar2.postinst | 2 +- debian/pazpar2.postrm | 2 +- debian/pazpar2.preinst | 2 +- 4 files changed, 9 insertions(+), 3 deletions(-) diff --git a/debian/changelog b/debian/changelog index 4ccf1da..9db1ea6 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +pazpar2 (1.7.0-2.indexdata) unstable; urgency=medium + + * Fix version passed to dpkg-maintscript-helper rm_conffile + + -- Adam Dickmeiss Fri, 27 Jun 2014 15:48:37 +0200 + pazpar2 (1.7.0-1.indexdata) unstable; urgency=medium * Upstream. diff --git a/debian/pazpar2.postinst b/debian/pazpar2.postinst index 3be43ea..9588514 100644 --- a/debian/pazpar2.postinst +++ b/debian/pazpar2.postinst @@ -9,7 +9,7 @@ for i in cf.xsl marc21.xsl pp2out-to-carrot2.xsl solr-pz2.xsl \ MarcXML2TurboMarc.xsl pz2-ourl-base.xsl unimarc.xsl dc.xsl \ oai_dc.xsl pz2-ourl-marc21.xsl usmarc.xsl dkabm.xsl opac_turbomarc.xsl \ pz2-solr.xsl marc21-ourl.xsl opac.xsl server-status-nagios.xsl ; do - dpkg-maintscript-helper rm_conffile /etc/pazpar2/$i 1.6.40.-1.indexdata -- "$@" + dpkg-maintscript-helper rm_conffile /etc/pazpar2/$i 1.6.99.-1.indexdata -- "$@" done # add default.xml if there are no enabled services diff --git a/debian/pazpar2.postrm b/debian/pazpar2.postrm index 54d4193..65a8a57 100644 --- a/debian/pazpar2.postrm +++ b/debian/pazpar2.postrm @@ -6,7 +6,7 @@ for i in cf.xsl marc21.xsl pp2out-to-carrot2.xsl solr-pz2.xsl \ MarcXML2TurboMarc.xsl pz2-ourl-base.xsl unimarc.xsl dc.xsl \ oai_dc.xsl pz2-ourl-marc21.xsl usmarc.xsl dkabm.xsl opac_turbomarc.xsl \ pz2-solr.xsl marc21-ourl.xsl opac.xsl server-status-nagios.xsl ; do - dpkg-maintscript-helper rm_conffile /etc/pazpar2/$i 1.6.40-1.indexdata -- "$@" + dpkg-maintscript-helper rm_conffile /etc/pazpar2/$i 1.6.99-1.indexdata -- "$@" done if [ "$1" = "purge" ] ; then diff --git a/debian/pazpar2.preinst b/debian/pazpar2.preinst index 045a819..a8876fa 100644 --- a/debian/pazpar2.preinst +++ b/debian/pazpar2.preinst @@ -5,6 +5,6 @@ for i in cf.xsl marc21.xsl pp2out-to-carrot2.xsl solr-pz2.xsl \ MarcXML2TurboMarc.xsl pz2-ourl-base.xsl unimarc.xsl dc.xsl \ oai_dc.xsl pz2-ourl-marc21.xsl usmarc.xsl dkabm.xsl opac_turbomarc.xsl \ pz2-solr.xsl marc21-ourl.xsl opac.xsl server-status-nagios.xsl ; do - dpkg-maintscript-helper rm_conffile /etc/pazpar2/$i 1.6.40-1.indexdata -- "$@" + dpkg-maintscript-helper rm_conffile /etc/pazpar2/$i 1.6.99-1.indexdata -- "$@" done -- 1.7.10.4