install.sh: remove unnecessary variable.

This commit is contained in:
Mike McQuaid
2023-05-23 09:43:48 +01:00
committed by GitHub
parent 800df6bd7a
commit 96362c02f6

View File

@@ -837,8 +837,7 @@ USABLE_GIT=/usr/bin/git
if [[ -n "${HOMEBREW_ON_LINUX-}" ]]
then
USABLE_GIT="$(find_tool git)"
git_installed="$(command -v git)"
if [[ -z "${git_installed}" ]]
if [[ -z "$(command -v git)" ]]
then
abort "$(
cat <<EOABORT