Skip to content

Commit a8b3dcb

Browse files
authored
Fixed improper formatting
Used brew style --fix install.sh
1 parent 15084c1 commit a8b3dcb

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

install.sh

+6-5
Original file line numberDiff line numberDiff line change
@@ -252,15 +252,16 @@ have_sudo_access() {
252252

253253
if [[ -n "${HOMEBREW_ON_MACOS-}" ]] && [[ "${HAVE_SUDO_ACCESS}" -ne 0 ]]
254254
then
255-
abort "$(cat <<EOABORT
255+
abort "$(
256+
cat <<EOABORT
256257
Need sudo access on macOS (e.g. the user ${USER} needs to be an Administrator)!
257258
258-
If you want to use Homebrew from a standard (non-admin) macOS account without sudo, run these commands using an admin account:
259+
Or for a standard (non-admin) user, run:
259260
260-
sudo mkdir -p "${HOMEBREW_PREFIX}"
261-
sudo chown -R "${USER}:${GROUP}" "${HOMEBREW_PREFIX}"
261+
sudo mkdir -p "${HOMEBREW_PREFIX}"
262+
sudo chown -R "${USER}:${GROUP}" "${HOMEBREW_PREFIX}"
262263
263-
Then you can rerun this script entirely without admin privileges.
264+
Then run this installer script again.
264265
EOABORT
265266
)"
266267
fi

0 commit comments

Comments
 (0)