aports/main/dash/dash.pre-deinstall
Sertonix 62e5cbc07d main/dash: fix install of -binsh
When installing dash-binsh but dash is not installed the previous binsh
may be removed early leaving dash.post-install without a shell to run.
Using the shell itself also resolves a recursive dependency between dash
and dash-binsh.

Additional dependency on busybox is needed when creating a rootfs to
ensure the 'add-shell' command is actually available when running the
dash.post-install script.
2024-12-13 10:37:40 +00:00

3 lines
52 B
Bash

#!/usr/bin/dash
remove-shell '/usr/bin/dash'
exit 0