summaryrefslogtreecommitdiff
path: root/debian/dpkg.postinst
diff options
context:
space:
mode:
authorFrank Lichtenheld <djpig@debian.org>2006-05-15 16:41:26 +0000
committerFrank Lichtenheld <djpig@debian.org>2006-05-15 16:41:26 +0000
commit0a8dfdd964fcc9e5eb2b955e49ae639531ba4c80 (patch)
tree44805e69fc8455bfbf4197c9e7d5c7acdd7ee100 /debian/dpkg.postinst
parenta11315e0fca1583fde41d208f3e46766e6784a08 (diff)
downloaddpkg-0a8dfdd964fcc9e5eb2b955e49ae639531ba4c80.tar.gz
* Completely remove md5sum diversion madness. Instead, we Pre-Depend
on a version of textutils which provides /usr/bin/md5sum. We rely on the logic in coreutils to remove our diversions. Patch by Ian Jackson. Closes: #315784, #313605
Diffstat (limited to 'debian/dpkg.postinst')
-rwxr-xr-xdebian/dpkg.postinst13
1 files changed, 0 insertions, 13 deletions
diff --git a/debian/dpkg.postinst b/debian/dpkg.postinst
index f0126626e..7eec47a09 100755
--- a/debian/dpkg.postinst
+++ b/debian/dpkg.postinst
@@ -137,18 +137,6 @@ Shall I remove these links ? [y/n] "
}
-# Divert textutils/coreutils md5sum now that we no longer provide it
-divert_md5sum() {
- if [ ! -f /usr/bin/md5sum ]; then
- dpkg-divert --divert /usr/bin/md5sum --rename /usr/bin/md5sum.textutils
- fi
- if [ ! -f /usr/share/man/man1/md5sum.1.gz ]; then
- dpkg-divert --divert /usr/share/man/man1/md5sum.1.gz --rename \
- /usr/share/man/man1/md5sum.textutils.1.gz
- fi
-}
-
-
# Create log file and set default permissions if possible
create_logfile() {
logfile=/var/log/dpkg.log
@@ -174,7 +162,6 @@ case "$1" in
move_info_directory
remove_info_symlink
- divert_md5sum
;;
abort-upgrade|abort-deconfigure|abort-remove)