view ci/load-snd-dummy.sh @ 23802:17ee19090b85 v8.2.2442

patch 8.2.2442: automatic GUI selection does not check for GTK 3 Commit: https://github.com/vim/vim/commit/f272ae12ac064856b710046393d5bf9b1670076d Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jan 31 19:52:50 2021 +0100 patch 8.2.2442: automatic GUI selection does not check for GTK 3 Problem: Automatic GUI selection does not check for GTK 3. Solution: Make SKIP_GTK3 empty for automatic GUI support. Set SKIP_GTK3 to YES when checking for GTK2.
author Bram Moolenaar <Bram@vim.org>
date Sun, 31 Jan 2021 20:00:04 +0100
parents 3a7017ee1161
children
line wrap: on
line source

#!/bin/bash
set -e

if ! modprobe snd-dummy; then
    # snd-dummy is contained in linux-modules-extra (if exists)
    apt-get install -yq --no-install-suggests --no-install-recommends "linux-modules-extra-$(uname -r)"
    modprobe snd-dummy
fi