view ci/load-snd-dummy.sh @ 22290:9debc021e99e v8.2.1694

patch 8.2.1694: compiler warning for loss if data Commit: https://github.com/vim/vim/commit/573545a55afb5d42614cdb69f356abb32409270b Author: Bram Moolenaar <Bram@vim.org> Date: Wed Sep 16 15:46:08 2020 +0200 patch 8.2.1694: compiler warning for loss if data Problem: Compiler warning for loss if data. Solution: Add typecast.
author Bram Moolenaar <Bram@vim.org>
date Wed, 16 Sep 2020 16:00: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