mirror of
https://github.com/wez/wezterm.git
synced 2025-01-03 11:11:43 +03:00
get-deps: user-contributed support for void linux
Unsure if this is 100% correct, but it is at least a starting point
This commit is contained in:
parent
ad35b9dc21
commit
9bcc4e0bbc
29
get-deps
29
get-deps
@ -244,6 +244,32 @@ gentoo_deps() {
|
|||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void_deps() {
|
||||||
|
XBPS="$SUDO xbps-install"
|
||||||
|
$XBPS -S \
|
||||||
|
'base-devel' \
|
||||||
|
'cargo' \
|
||||||
|
'cmake' \
|
||||||
|
'fontconfig' \
|
||||||
|
'git' \
|
||||||
|
'hicolor-icon-theme' \
|
||||||
|
'libX11' \
|
||||||
|
'libxkbcommon-x11' \
|
||||||
|
'pkgconf' \
|
||||||
|
'python3' \
|
||||||
|
'rust' \
|
||||||
|
'wayland' \
|
||||||
|
'xcb-util' \
|
||||||
|
'xcb-util-image' \
|
||||||
|
'xcb-util-keysyms' \
|
||||||
|
'xcb-util-wm'
|
||||||
|
|
||||||
|
if test_flag; then
|
||||||
|
$XBPS -S \
|
||||||
|
'openssh'
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
fallback_method() {
|
fallback_method() {
|
||||||
if test -e /etc/alpine-release; then
|
if test -e /etc/alpine-release; then
|
||||||
alpine_deps
|
alpine_deps
|
||||||
@ -305,6 +331,9 @@ case $ID in
|
|||||||
gentoo)
|
gentoo)
|
||||||
gentoo_deps
|
gentoo_deps
|
||||||
;;
|
;;
|
||||||
|
void)
|
||||||
|
void_deps
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
echo "Couldn't find OS by ID, found ID: $ID"
|
echo "Couldn't find OS by ID, found ID: $ID"
|
||||||
echo "Fallback to detecting '/etc/<name>-release'"
|
echo "Fallback to detecting '/etc/<name>-release'"
|
||||||
|
Loading…
Reference in New Issue
Block a user