Skip to content

Commit

Permalink
chore: update install.sh error to match npm
Browse files Browse the repository at this point in the history
  • Loading branch information
EverlastingBugstopper committed May 13, 2021
1 parent 12d417b commit 8bba2d9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion installers/binstall/scripts/nix/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@ get_architecture() {
local _ostype=unknown-linux-gnu
else
local _ostype=unknown-linux-musl
say "You do not have glibc 2.18+ installed."
say "Downloading musl binary that does not include `rover supergraph compose`."
fi
;;
Expand Down Expand Up @@ -175,7 +174,11 @@ has_required_glibc() {
|| { [ "${_glibc_major_version}" -eq "${_min_major_version}" ] \
&& [ "${_glibc_min_version}" -ge "${_min_minor_version}" ]; }; then
return 1
else
say "This operating system needs glibc >= ${_min_major_version}.${_min_minor_version}, but only has ${_libc_version} installed."
fi
else
say "This operating system does not support dynamic linking to glibc."
fi

return 0
Expand Down

0 comments on commit 8bba2d9

Please sign in to comment.