Skip to content

Commit

Permalink
ci: ensure moreutils prereq
Browse files Browse the repository at this point in the history
  • Loading branch information
balupton committed Aug 31, 2023
1 parent 8b6f5f6 commit 9108b7e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions commands/dorothy
Original file line number Diff line number Diff line change
Expand Up @@ -351,25 +351,25 @@ function dorothy() (
if command_exists apt-get; then
# for ubuntu/debian/kali
# E: Unable to locate package ncurses
try_sudo apt-get install -y bash curl git procps moreutils
try_sudo apt-get install -y bash curl git moreutils procps
elif command_exists zypper; then
# for opensuse
try_sudo zypper --non-interactive install bash curl git-core ncurses
try_sudo zypper --non-interactive install bash curl git-core ncurses moreutils
elif command_exists apk; then
# for alpine
try_sudo apk add bash curl grep git ncurses moreutils
elif command_exists pamac; then
# for manjaro, prefer over arch as majaro also contains pacman
try_sudo pamac install --no-confirm bash curl git ncurses procps-ng
try_sudo pamac install --no-confirm bash curl git ncurses moreutils procps-ng
elif command_exists pacman; then
# for arch
try_sudo pacman --refresh --sync --needed --noconfirm bash curl git ncurses procps-ng
try_sudo pacman --refresh --sync --needed --noconfirm bash curl git ncurses moreutils procps-ng
elif command_exists urpmi; then
# for mageia, prefer over fedora as mageia contains dnf
try_sudo urpmi bash curl git ncurses
try_sudo urpmi bash curl git ncurses moreutils
elif command_exists dnf; then
# for fedora
try_sudo dnf --assumeyes --refresh --best --allowerasing install bash curl git ncurses procps
try_sudo dnf --assumeyes --refresh --best --allowerasing install bash curl git ncurses procps moreutils
elif test -x "${HOMEBREW_PREFIX-}/bin/brew"; then
# for macos, don't use command_exists as dorothy has its own brew helper
"${HOMEBREW_PREFIX-}/bin/brew" install bash curl git ncurses moreutils
Expand Down

0 comments on commit 9108b7e

Please sign in to comment.