[dpkg] 60/192: debian: Remove preinst maintainer scripts for dselect and dpkg-dev
Ximin Luo
infinity0 at debian.org
Tue Oct 17 11:03:59 UTC 2017
This is an automated email from the git hooks/post-receive script.
infinity0 pushed a commit to branch pu/reproducible_builds
in repository dpkg.
commit c991f1bf5c799f72caecb6d62bcb339171796aa4
Author: Guillem Jover <guillem at debian.org>
Date: Fri Jul 7 00:21:50 2017 +0200
debian: Remove preinst maintainer scripts for dselect and dpkg-dev
These were upgrade recipes from 1.14.x, for an old /usr/share/doc
symlink to directory switch.
Closes: #867327
---
debian/changelog | 3 +++
debian/dpkg-dev.preinst | 31 -------------------------------
debian/dselect.preinst | 31 -------------------------------
3 files changed, 3 insertions(+), 62 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 5b7788b..477920f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -26,6 +26,9 @@ dpkg (1.19.0) UNRELEASED; urgency=medium
available.
- Do not override the default DEPENDENCIES for libdpkg, extend it instead.
- Install perl man pages in section 3perl.
+ * Packaging:
+ - Remove preinst maintainer scripts for dselect and dpkg-dev, for an
+ ancient /usr/share/doc symlink to directory switch. Closes: #867327
* Test suite:
- Enable perlcritic Documentation::RequirePodSections and
Miscellanea::ProhibitTies.
diff --git a/debian/dpkg-dev.preinst b/debian/dpkg-dev.preinst
deleted file mode 100755
index a69160c..0000000
--- a/debian/dpkg-dev.preinst
+++ /dev/null
@@ -1,31 +0,0 @@
-#!/bin/sh
-# See deb-preinst(5).
-
-set -e
-
-remove_doc_symlink() {
- if [ -L /usr/share/doc/dpkg-dev ]; then
- rm /usr/share/doc/dpkg-dev
- fi
-}
-
-case "$1" in
- install)
- ;;
-
- upgrade)
- remove_doc_symlink
- ;;
-
- abort-upgrade)
- ;;
-
-
- *)
- echo "$0 called with unknown argument '$1'" 1>&2
- exit 1
- ;;
-esac
-
-#DEBHELPER#
-exit 0
diff --git a/debian/dselect.preinst b/debian/dselect.preinst
deleted file mode 100755
index b22719c..0000000
--- a/debian/dselect.preinst
+++ /dev/null
@@ -1,31 +0,0 @@
-#!/bin/sh
-# See deb-preinst(5).
-
-set -e
-
-remove_doc_symlink() {
- if [ -L /usr/share/doc/dselect ]; then
- rm /usr/share/doc/dselect
- fi
-}
-
-case "$1" in
- install)
- ;;
-
- upgrade)
- remove_doc_symlink
- ;;
-
- abort-upgrade)
- ;;
-
-
- *)
- echo "$0 called with unknown argument '$1'" 1>&2
- exit 1
- ;;
-esac
-
-#DEBHELPER#
-exit 0
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/dpkg.git
More information about the Reproducible-commits
mailing list