Skip to content

Commit 2724aef

Browse files
committed
remove homebrew support
1 parent 006a805 commit 2724aef

File tree

1 file changed

+3
-30
lines changed

1 file changed

+3
-30
lines changed

install.sh

+3-30
Original file line numberDiff line numberDiff line change
@@ -91,16 +91,6 @@ Then run with:
9191
EOF
9292
}
9393

94-
echo_brew_postinstall() {
95-
echoh
96-
cath << EOF
97-
Brew release has been installed.
98-
99-
Run with:
100-
coder
101-
EOF
102-
}
103-
10494
echo_systemd_postinstall() {
10595
echoh
10696
cath << EOF
@@ -238,17 +228,9 @@ main() {
238228
DISTRO=${DISTRO:-$(distro)}
239229

240230
case $DISTRO in
241-
# macOS uses brew when available and falls back to standalone.
242-
macos)
243-
BREW_PATH="${BREW_PATH-brew}"
244-
if command_exists "$BREW_PATH"; then
245-
install_brew
246-
else
247-
echoh "Homebrew not installed."
248-
echoh "Falling back to standalone installation."
249-
install_standalone
250-
fi
251-
;;
231+
# macOS uses the standalone installation for now.
232+
# Homebrew support is planned. See: https://github.com/coder/coder/issues/1925
233+
macos) install_standalone ;;
252234
# The .deb and .rpm files are pulled from GitHub.
253235
debian) install_deb ;;
254236
fedora | opensuse) install_rpm ;;
@@ -318,15 +300,6 @@ fetch() {
318300
sh_c mv "$FILE.incomplete" "$FILE"
319301
}
320302

321-
install_brew() {
322-
echoh "Installing latest from Homebrew."
323-
echoh
324-
325-
sh_c "$BREW_PATH" install coder
326-
327-
echo_brew_postinstall
328-
}
329-
330303
install_deb() {
331304
echoh "Installing v$VERSION of the $ARCH deb package from GitHub."
332305
echoh

0 commit comments

Comments
 (0)