Drop obsolete ash package

Nothing in Debian uses /bin/ash anymore.

Closes: #920644
This commit is contained in:
Andrej Shadura 2024-01-18 13:42:30 +01:00
parent b229dc513d
commit 1de0536fde
No known key found for this signature in database
GPG Key ID: 2526E9EB828A8F35
7 changed files with 5 additions and 26 deletions

1
debian/ash.1 vendored
View File

@ -1 +0,0 @@
.so man1/dash.1

1
debian/ash.links vendored
View File

@ -1 +0,0 @@
/bin/dash /bin/ash

1
debian/ash.manpages vendored
View File

@ -1 +0,0 @@
debian/ash.1

11
debian/ash.postrm vendored
View File

@ -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#

10
debian/control vendored
View File

@ -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.

2
debian/dash.install vendored
View File

@ -1,3 +1 @@
/usr/bin/dash /bin
/usr/share
debian/shells.d/dash /usr/share/debianutils/shells.d

5
debian/rules vendored
View File

@ -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