Skip to content

Commit

Permalink
fix(mksh): requires printf
Browse files Browse the repository at this point in the history
  • Loading branch information
tpgxyz authored and haraldh committed Jun 29, 2021
1 parent 6610093 commit f806a62
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules.d/00mksh/module-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ check() {

# If the binary(s) requirements are not fulfilled the module can't be installed.
require_binaries mksh || return 1
require_binaries printf || return 1

# Return 255 to only include the module, if another module requires it.
return 255
Expand All @@ -25,6 +26,7 @@ depends() {
install() {

inst /bin/mksh
inst printf

# Prefer mksh as default shell if no other shell is preferred.
[[ -L $initdir/bin/sh ]] || ln -sf mksh "${initdir}/bin/sh"
Expand Down

0 comments on commit f806a62

Please sign in to comment.