diff --git a/script/linux b/script/linux index 2ef37c04e1537058945c2362e10cde7a14ac035c..c7fe1c111f67de9d052417ba32151ed1942516b1 100755 --- a/script/linux +++ b/script/linux @@ -35,6 +35,22 @@ if [[ -n $dnf ]]; then exit 0 fi +# openSuse +# https://software.opensuse.org/ +zyp=$(command -v zypper || true) +if [[ -n $zyp ]]; then + deps=( + alsa-devel + fontconfig-devel + vulkan-validationlayers + wayland-devel + libxkbcommon-x11-devel + openssl-devel + ) + $maysudo "$zyp" install -y "${deps[@]}" + exit 0 +fi + # Arch, Manjaro, etc. # https://archlinux.org/packages pacman=$(command -v pacman || true)