view ci/load-snd-dummy.sh @ 24723:5194fba32954 v8.2.2900

patch 8.2.2900: QuitPre is triggered before :wq writes the file Commit: https://github.com/vim/vim/commit/1174b018a6d705ddb8c04f3d21f78ae760aa0856 Author: Bram Moolenaar <Bram@vim.org> Date: Sat May 29 14:30:43 2021 +0200 patch 8.2.2900: QuitPre is triggered before :wq writes the file Problem: QuitPre is triggered before :wq writes the file, which is different from other commands. Solution: Trigger QuitPre after writing the file. (closes #8279)
author Bram Moolenaar <Bram@vim.org>
date Sat, 29 May 2021 14:45: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