summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEnrico Zini <enrico@enricozini.org>2014-10-06 14:46:07 +0200
committerEnrico Zini <enrico@enricozini.org>2014-10-06 14:47:33 +0200
commit4f8f2812283295a0a254bbebe752936ad503917b (patch)
tree00cf0c8ad139bc262be24bc672a7f4ec0c245601
parent60c464ed5d9793ef95f1ee171ee09d3750b30f9d (diff)
downloadlibept-4f8f2812283295a0a254bbebe752936ad503917b.tar.gz
Migrated to dh_installdeb maintscript support. Closes: #659749
-rw-r--r--debian/changelog1
-rw-r--r--debian/control2
-rw-r--r--debian/ept-cache.maintscript1
-rw-r--r--debian/ept-cache.postinst5
-rw-r--r--debian/ept-cache.postrm10
-rw-r--r--debian/ept-cache.preinst10
-rw-r--r--debian/ept-cache.prerm10
7 files changed, 3 insertions, 36 deletions
diff --git a/debian/changelog b/debian/changelog
index 3ab01af..c68da63 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,7 @@ libept (1.0.12.1) unstable; urgency=medium
/var/lib/debtags/vocabulary if they are available. Closes: #762347
* Updated standards-version, no changes required.
* Set priority to optional. Closes: #741632
+ * Migrated to dh_installdeb maintscript support. Closes: #659749
-- Enrico Zini <enrico@debian.org> Mon, 06 Oct 2014 14:36:56 +0200
diff --git a/debian/control b/debian/control
index 3c0e206..2b290a7 100644
--- a/debian/control
+++ b/debian/control
@@ -39,7 +39,6 @@ Description: High-level library for managing Debian package information
Package: libept1.4.12
Section: libs
Architecture: any
-Pre-Depends: ${misc:Pre-Depends}
Multi-Arch: same
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: High-level library for managing Debian package information
@@ -58,6 +57,7 @@ Description: High-level library for managing Debian package information
Package: ept-cache
Architecture: all
Section: misc
+Pre-Depends: ${misc:Pre-Depends}
Depends: ${shlibs:Depends}, ${misc:Depends}, apt-xapian-index (>= 0.30)
Recommends: debtags
Description: Obsolete commandline tool to search the package archive
diff --git a/debian/ept-cache.maintscript b/debian/ept-cache.maintscript
new file mode 100644
index 0000000..35700ff
--- /dev/null
+++ b/debian/ept-cache.maintscript
@@ -0,0 +1 @@
+rm_conffile /etc/cron.weekly/ept-cache 1.0.1
diff --git a/debian/ept-cache.postinst b/debian/ept-cache.postinst
index a43d119..4cece22 100644
--- a/debian/ept-cache.postinst
+++ b/debian/ept-cache.postinst
@@ -9,9 +9,4 @@ if [ "$1" = "configure" ]; then
fi
fi
-# FIXME: remove test when we are not interested in lenny anymore
-if test -x /usr/bin/dpkg-maintscript-helper && dpkg-maintscript-helper supports rm_conffile; then
- dpkg-maintscript-helper rm_conffile /etc/cron.weekly/ept-cache 1.0.1 -- "$@"
-fi
-
#DEBHELPER#
diff --git a/debian/ept-cache.postrm b/debian/ept-cache.postrm
deleted file mode 100644
index 90d458c..0000000
--- a/debian/ept-cache.postrm
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/bin/sh
-
-set -e
-
-# FIXME: remove test when we are not interested in lenny anymore
-if test -x /usr/bin/dpkg-maintscript-helper && dpkg-maintscript-helper supports rm_conffile; then
- dpkg-maintscript-helper rm_conffile /etc/cron.weekly/ept-cache 1.0.1 -- "$@"
-fi
-
-#DEBHELPER#
diff --git a/debian/ept-cache.preinst b/debian/ept-cache.preinst
deleted file mode 100644
index 90d458c..0000000
--- a/debian/ept-cache.preinst
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/bin/sh
-
-set -e
-
-# FIXME: remove test when we are not interested in lenny anymore
-if test -x /usr/bin/dpkg-maintscript-helper && dpkg-maintscript-helper supports rm_conffile; then
- dpkg-maintscript-helper rm_conffile /etc/cron.weekly/ept-cache 1.0.1 -- "$@"
-fi
-
-#DEBHELPER#
diff --git a/debian/ept-cache.prerm b/debian/ept-cache.prerm
deleted file mode 100644
index 90d458c..0000000
--- a/debian/ept-cache.prerm
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/bin/sh
-
-set -e
-
-# FIXME: remove test when we are not interested in lenny anymore
-if test -x /usr/bin/dpkg-maintscript-helper && dpkg-maintscript-helper supports rm_conffile; then
- dpkg-maintscript-helper rm_conffile /etc/cron.weekly/ept-cache 1.0.1 -- "$@"
-fi
-
-#DEBHELPER#