aports/main/yash/yash.post-install
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

11 lines
141 B
Text

#!/usr/bin/yash
add-shell '/usr/bin/yash'
cat >&2 <<EOF
*
* If you want command completion in yash, install yash-completion.
*
EOF
exit 0