mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-19 05:36:38 +02:00
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.
11 lines
141 B
Text
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
|