mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-20 09:36:34 +02:00
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.
3 lines
52 B
Bash
3 lines
52 B
Bash
#!/usr/bin/dash
|
|
remove-shell '/usr/bin/dash'
|
|
exit 0
|