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

add support for the xbps package manager in the system library setup
script
This commit is contained in:
aryal 2024-03-02 06:32:59 +05:45 committed by GitHub
parent 26103e8bb9
commit 03f18053bb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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"