mirror of
https://salsa.debian.org/debian/dash.git
synced 2026-01-26 07:37:51 +00:00
preinst: Add a comment with some motivation
This commit is contained in:
parent
397d3a0bb7
commit
0503bf8eed
2
debian/dash.preinst
vendored
2
debian/dash.preinst
vendored
@ -18,6 +18,8 @@ if [ "$1" = upgrade ] && dpkg --compare-versions "$2" lt 0.5.12-9~; then
|
||||
# We have no other debconf usage in dash, so we can purge rightaway.
|
||||
db_purge || true
|
||||
else
|
||||
# The chances of anyone hitting this branch are very slim.
|
||||
# If they do, they will appreciate letting them change their diversion.
|
||||
echo "ERROR: Found ineffective diversion of /bin/sh!" >&2
|
||||
echo "To keep using alternative default shell, divert /usr/bin/sh instead." >&2
|
||||
echo "Aborting upgrade. Resolve the issue and try again." >&2
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user