view ci/load-snd-dummy.sh @ 25086:088c1ddac618 v8.2.3080

patch 8.2.3080: recover test fails on 32bit systems Commit: https://github.com/vim/vim/commit/576cb75ceb38ed077938d4a1c1265095050f6105 Author: Yegappan Lakshmanan <yegappan@yahoo.com> Date: Wed Jun 30 21:30:10 2021 +0200 patch 8.2.3080: recover test fails on 32bit systems Problem: Recover test fails on 32bit systems. (Ond?ej S?kup) Solution: Detect 32/64 bit systems. (Yegappan Lakshmanan, closes https://github.com/vim/vim/issues/8485, closes #8479)
author Bram Moolenaar <Bram@vim.org>
date Wed, 30 Jun 2021 21:45: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