view ci/load-snd-dummy.sh @ 30701:328f91a31951 v9.0.0685

patch 9.0.0685: FORTIFY_SOURCE causes a crash in Vim9 script Commit: https://github.com/vim/vim/commit/07eaa1ede4a39b6a95203beebd94943b62a216c1 Author: Yee Cheng Chin <ychin.git@gmail.com> Date: Fri Oct 7 16:00:04 2022 +0100 patch 9.0.0685: FORTIFY_SOURCE causes a crash in Vim9 script Problem: FORTIFY_SOURCE causes a crash in Vim9 script. Solution: Use a pointer to the first char. (Yee Cheng Chin, closes https://github.com/vim/vim/issues/11302)
author Bram Moolenaar <Bram@vim.org>
date Fri, 07 Oct 2022 17:15: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