view ci/load-snd-dummy.sh @ 25688:c07b6c54146a v8.2.3380

patch 8.2.3380: crash when using NULL string for funcref() Commit: https://github.com/vim/vim/commit/60b6e6f6cc60ac99253e1c13bd0cae4ef0e43201 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Aug 28 12:49:27 2021 +0200 patch 8.2.3380: crash when using NULL string for funcref() Problem: Crash when using NULL string for funcref(). Solution: Check for NULL argument. (issue https://github.com/vim/vim/issues/8260)
author Bram Moolenaar <Bram@vim.org>
date Sat, 28 Aug 2021 13: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