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:
parent
26103e8bb9
commit
03f18053bb
1 changed files with 15 additions and 0 deletions
15
script/linux
15
script/linux
|
@ -63,4 +63,19 @@ if [[ -n $pacman ]]; then
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
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"
|
echo "Unsupported Linux distribution in script/linux"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue