view ci/load-snd-dummy.sh @ 21365:fca850f4d603 v8.2.1233

patch 8.2.1233: Vim9: various errors not caught by try/catch Commit: https://github.com/vim/vim/commit/f0b9f43c3169037b7f2cd70e4939ba1ef26ada1c Author: Bram Moolenaar <Bram@vim.org> Date: Fri Jul 17 23:03:17 2020 +0200 patch 8.2.1233: Vim9: various errors not caught by try/catch Problem: Vim9: various errors not caught by try/catch. Solution: Do not bail out if an error is inside try/catch.
author Bram Moolenaar <Bram@vim.org>
date Fri, 17 Jul 2020 23:15:03 +0200
parents c94c103e7cb4
children 3a7017ee1161
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 install -y "linux-modules-extra-$(uname -r)"
    modprobe snd-dummy
fi