view ci/load-snd-dummy.sh @ 30761:c9b31c8eb3b3 v9.0.0715

patch 9.0.0715: wrong argument for append() gives two error messages Commit: https://github.com/vim/vim/commit/801cd35e7e3b21e519e12a1610ee1d721e40893e Author: Bram Moolenaar <Bram@vim.org> Date: Mon Oct 10 16:08:16 2022 +0100 patch 9.0.0715: wrong argument for append() gives two error messages Problem: Wrong argument for append() gives two error messages. Solution: When getting an error for a number argument don't try using it as a string. (closes #11335)
author Bram Moolenaar <Bram@vim.org>
date Mon, 10 Oct 2022 17:15:07 +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