[Python-modules-commits] [pygments] 01/01: Remove /etc/bash_completion.d/pygmentize conffile in maintainer scripts
Piotr Ożarowski
piotr at moszumanska.debian.org
Mon Jan 25 22:18:44 UTC 2016
This is an automated email from the git hooks/post-receive script.
piotr pushed a commit to branch master
in repository pygments.
commit 491a2d414e44d41c324097f429cc20290ebab236
Author: Piotr Ożarowski <piotr at debian.org>
Date: Mon Jan 25 23:15:19 2016 +0100
Remove /etc/bash_completion.d/pygmentize conffile in maintainer scripts
---
debian/changelog | 7 ++++++-
debian/python-pygments.postinst | 9 +++++++++
debian/python-pygments.postrm | 9 +++++++++
debian/python-pygments.preinst | 9 +++++++++
4 files changed, 33 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index c621a57..c9f162d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,11 +1,16 @@
-pygments (2.1+dfsg-1) UNRELEASED; urgency=medium
+pygments (2.1+dfsg-1) unstable; urgency=medium
+ [ Dmitry Shachnev ]
* New upstream release.
* Drop CVE-2015-8557.patch, applied upstream.
* Disable two tests that need example files, again.
* Stop setting PYTHONWARNINGS=d when running the autopkgtests, that
breaks the cmdline test which checks that process stderr is empty.
+ [ Piotr Ożarowski ]
+ * Remove /etc/bash_completion.d/pygmentize conffile in maintainer scripts
+ (closes: #810661)
+
-- Dmitry Shachnev <mitya57 at debian.org> Mon, 25 Jan 2016 18:04:14 +0300
pygments (2.0.1+dfsg-2) unstable; urgency=high
diff --git a/debian/python-pygments.postinst b/debian/python-pygments.postinst
new file mode 100644
index 0000000..c7d0fee
--- /dev/null
+++ b/debian/python-pygments.postinst
@@ -0,0 +1,9 @@
+#! /bin/sh
+set -e
+
+if dpkg-maintscript-helper supports rm_conffile; then
+ dpkg-maintscript-helper rm_conffile /etc/bash_completion.d/pygmentize\
+ 2.1+dfsg-1~ python-pygments -- "$@"
+fi
+
+#DEBHELPER#
diff --git a/debian/python-pygments.postrm b/debian/python-pygments.postrm
new file mode 100644
index 0000000..c7d0fee
--- /dev/null
+++ b/debian/python-pygments.postrm
@@ -0,0 +1,9 @@
+#! /bin/sh
+set -e
+
+if dpkg-maintscript-helper supports rm_conffile; then
+ dpkg-maintscript-helper rm_conffile /etc/bash_completion.d/pygmentize\
+ 2.1+dfsg-1~ python-pygments -- "$@"
+fi
+
+#DEBHELPER#
diff --git a/debian/python-pygments.preinst b/debian/python-pygments.preinst
new file mode 100644
index 0000000..c7d0fee
--- /dev/null
+++ b/debian/python-pygments.preinst
@@ -0,0 +1,9 @@
+#! /bin/sh
+set -e
+
+if dpkg-maintscript-helper supports rm_conffile; then
+ dpkg-maintscript-helper rm_conffile /etc/bash_completion.d/pygmentize\
+ 2.1+dfsg-1~ python-pygments -- "$@"
+fi
+
+#DEBHELPER#
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/pygments.git
More information about the Python-modules-commits
mailing list