Skip to content

Commit f7a5ee8

Browse files
committed
remove arch linux
1 parent 2724aef commit f7a5ee8

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

install.sh

-18
Original file line numberDiff line numberDiff line change
@@ -234,9 +234,6 @@ main() {
234234
# The .deb and .rpm files are pulled from GitHub.
235235
debian) install_deb ;;
236236
fedora | opensuse) install_rpm ;;
237-
# Arch uses the AUR package which only supports amd64 and arm64 since it
238-
# pulls releases from GitHub so we need to fall back to npm.
239-
arch) install_aur ;;
240237
# We don't have GitHub releases that work on Alpine or FreeBSD so we have no
241238
# choice but to use npm here.
242239
alpine) install_apk ;;
@@ -333,21 +330,6 @@ install_apk() {
333330
echo_systemd_postinstall apk
334331
}
335332

336-
install_aur() {
337-
echoh "Installing latest from the AUR."
338-
echoh
339-
340-
sh_c mkdir -p "$CACHE_DIR/coder-aur"
341-
sh_c "curl -#fsSL https://aur.archlinux.org/cgit/aur.git/snapshot/coder.tar.gz | tar -xzC $CACHE_DIR/coder-aur --strip-components 1"
342-
echo "+ cd $CACHE_DIR/coder-aur"
343-
if [ ! "${DRY_RUN-}" ]; then
344-
cd "$CACHE_DIR/coder-aur"
345-
fi
346-
sh_c makepkg -si
347-
348-
echo_systemd_postinstall AUR
349-
}
350-
351333
install_standalone() {
352334
echoh "Installing v$VERSION of the $ARCH release from GitHub."
353335
echoh

0 commit comments

Comments
 (0)