Skip to content

Commit

Permalink
fix install order
Browse files Browse the repository at this point in the history
  • Loading branch information
timur-harin committed May 23, 2024
1 parent 111ace6 commit 5e6fa3f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 0 additions & 1 deletion help/is-macos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ set -e
set -o pipefail

if [[ "$OSTYPE" == "darwin"* ]]; then
"${LOCAL}/installs/install-brew.sh"
exit 0
else
exit 1
Expand Down
5 changes: 5 additions & 0 deletions steps/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ if "${LOCAL}/help/is-linux.sh"; then
"${LOCAL}/help/sudo.sh" apt-get install -y coreutils
fi

if "${LOCAL}/help/is-macos.sh"; then
"${LOCAL}/installs/install-brew.sh"
brew install coreutils
fi

function install_package() {
local PACKAGE=$1
if ! eval "$PACKAGE" --version >/dev/null 2>&1; then
Expand Down

0 comments on commit 5e6fa3f

Please sign in to comment.