Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Add Void Linux support to `script/linux` (#8664)

aryal03f18053bb08
diff --git a/script/linux b/script/linux
index 5c557170115..b5bd621b0d1 100755
--- a/script/linux
+++ b/script/linux
@@ -63,4 +63,19 @@ if [[ -n $pacman ]]; then
exit 0
fi
+# Void
+# https://voidlinux.org/packages/
+xbps=$(command -v xbps-install || true)
+if [[ -n $xbps ]]; then
+ deps=(
+ alsa-lib-devel
+ fontconfig-devel
+ wayland-devel
+ libxkbcommon-devel
+ openssl-devel
+ )
+ $maysudo "$xbps" -Syu "${deps[@]}"
+ exit 0
+fi
+
echo "Unsupported Linux distribution in script/linux"