view ci/load-snd-dummy.sh @ 24864:db4afe19285d v8.2.2970

patch 8.2.2970: Python configure check uses deprecated command Commit: https://github.com/vim/vim/commit/31e299c08f250b126b2c2c0ecce12ee563b70fdc Author: Zdenek Dohnal <zdohnal@redhat.com> Date: Thu Jun 10 18:50:55 2021 +0200 patch 8.2.2970: Python configure check uses deprecated command Problem: Python configure check uses deprecated command. Solution: Use sysconfig instead of distutils if possible. (Zdenek Dohnal, closes #8354)
author Bram Moolenaar <Bram@vim.org>
date Thu, 10 Jun 2021 19:00:03 +0200
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