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

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

14 lines
239 B
Text

#!/usr/bin/yash
ver_old=$2
if [ "$(apk version -t "$ver_old" '2.53-r1')" = '<' ]; then
cat >&2 <<-EOF
*
* yash no longer depends on yash-completion. To keep using command completion,
* run: apk add yash-completion
*
EOF
fi
exit 0