summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryibaba <[email protected]>2021-04-27 04:59:09 +0000
committerGitHub <[email protected]>2021-04-27 00:59:09 -0400
commit9bd32d7f95f4a1b36cc4ab584b1acf46206df2b4 (patch)
treef19c1e6a4e95d47f71c016501192773412995f4a
parenteb12e64058e50d01dfde3ab4520f555b2864fdc0 (diff)
Add compatibility with Artix Linux (Arch derivative) (#306)
-rwxr-xr-xutils/installer/install.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/installer/install.sh b/utils/installer/install.sh
index 796eddb1..7726fd2e 100755
--- a/utils/installer/install.sh
+++ b/utils/installer/install.sh
@@ -35,6 +35,7 @@ installnode() {
[ "$(uname)" == "Darwin" ] && installnodemac
[ -n "$(uname -a | grep Ubuntu)" ] && installnodeubuntu
[ -f "/etc/arch-release" ] && installnodearch
+ [ -f "/etc/artix-release" ] && installnodearch
[ -f "/etc/fedora-release" ] && installnodefedora
[ "$(expr substr $(uname -s) 1 10)" == "MINGW64_NT" ] && echo "Windows not currently supported"
sudo npm i -g neovim
@@ -136,6 +137,7 @@ installextrapackages() {
[ "$(uname)" == "Darwin" ] && installonmac
[ -n "$(uname -a | grep Ubuntu)" ] && installonubuntu
[ -f "/etc/arch-release" ] && installonarch
+ [ -f "/etc/artix-release" ] && installonarch
[ -f "/etc/fedora-release" ] && installonfedora
[ "$(expr substr $(uname -s) 1 10)" == "MINGW64_NT" ] && echo "Windows not currently supported"
}