Mercurial > vim
view ci/load-snd-dummy.sh @ 27682:f60d0d823897 v8.2.4367
patch 8.2.4367: calling in_vim9script() multiple times
Commit: https://github.com/vim/vim/commit/4525a57afbea3e0885642bbebbc24d5a25c97da9
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Feb 13 11:57:33 2022 +0000
patch 8.2.4367: calling in_vim9script() multiple times
Problem: Calling in_vim9script() multiple times.
Solution: Call it once and keep the result.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 13 Feb 2022 13:00:06 +0100 |
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