From 1de0536fdeec00e893683a953366e448301b3498 Mon Sep 17 00:00:00 2001 From: Andrej Shadura Date: Thu, 18 Jan 2024 13:42:30 +0100 Subject: [PATCH] Drop obsolete ash package Nothing in Debian uses /bin/ash anymore. Closes: #920644 --- debian/ash.1 | 1 - debian/ash.links | 1 - debian/ash.manpages | 1 - debian/ash.postrm | 11 ----------- debian/control | 10 ---------- debian/dash.install | 2 -- debian/rules | 5 +++++ 7 files changed, 5 insertions(+), 26 deletions(-) delete mode 100644 debian/ash.1 delete mode 100644 debian/ash.links delete mode 100644 debian/ash.manpages delete mode 100644 debian/ash.postrm diff --git a/debian/ash.1 b/debian/ash.1 deleted file mode 100644 index 7cd8c6a..0000000 --- a/debian/ash.1 +++ /dev/null @@ -1 +0,0 @@ -.so man1/dash.1 diff --git a/debian/ash.links b/debian/ash.links deleted file mode 100644 index 86bc6a3..0000000 --- a/debian/ash.links +++ /dev/null @@ -1 +0,0 @@ -/bin/dash /bin/ash diff --git a/debian/ash.manpages b/debian/ash.manpages deleted file mode 100644 index dfc2771..0000000 --- a/debian/ash.manpages +++ /dev/null @@ -1 +0,0 @@ -debian/ash.1 diff --git a/debian/ash.postrm b/debian/ash.postrm deleted file mode 100644 index b225a0b..0000000 --- a/debian/ash.postrm +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/sh -# $Id: ash.postrm,v 1.1 2003/11/21 08:47:16 herbert Exp $ - -set -e - -if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then - . /usr/share/debconf/confmodule - db_purge -fi - -#DEBHELPER# diff --git a/debian/control b/debian/control index 58fd8c5..309d25e 100644 --- a/debian/control +++ b/debian/control @@ -29,13 +29,3 @@ Description: POSIX-compliant shell Since it executes scripts faster than bash, and has fewer library dependencies (making it more robust against software or hardware failures), it is used as the default system shell on Debian systems. - -Package: ash -Architecture: all -Pre-Depends: dash -Depends: - ${misc:Depends}, -Description: compatibility package for dash - This package allows upgrading ash to its replacement, - dash. It includes the /bin/ash symlink. - It can be removed as soon as /bin/ash is no longer used. diff --git a/debian/dash.install b/debian/dash.install index f000b81..c5e2bc0 100644 --- a/debian/dash.install +++ b/debian/dash.install @@ -1,3 +1 @@ -/usr/bin/dash /bin -/usr/share debian/shells.d/dash /usr/share/debianutils/shells.d diff --git a/debian/rules b/debian/rules index 64f8a56..9c995b8 100755 --- a/debian/rules +++ b/debian/rules @@ -30,4 +30,9 @@ override_dh_auto_configure: --disable-lineno \ --disable-glob +execute_after_dh_auto_install: + mkdir -p debian/dash/bin + mv debian/*/usr/bin/dash debian/dash/bin + rmdir debian/*/usr/bin + .PHONY: override_dh_auto_configure