view ci/load-snd-dummy.sh @ 29855:6bddfc49c35b v9.0.0266

patch 9.0.0266: compiler warning for unused argument Commit: https://github.com/vim/vim/commit/340dafd155222ac96304107542344faf3c56e12b Author: Bram Moolenaar <Bram@vim.org> Date: Thu Aug 25 16:16:45 2022 +0100 patch 9.0.0266: compiler warning for unused argument Problem: Compiler warning for unused argument. Solution: Add UNUSED.
author Bram Moolenaar <Bram@vim.org>
date Thu, 25 Aug 2022 17:30:04 +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