Mercurial > vim
view ci/load-snd-dummy.sh @ 24174:99bfaa4693db v8.2.2628
patch 8.2.2628: Vim9: #{ can still be used at the script level
Commit: https://github.com/vim/vim/commit/5c7a299c1652b28977c30e3e3a5ab93c65e7f7ed
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Mar 20 13:29:38 2021 +0100
patch 8.2.2628: Vim9: #{ can still be used at the script level
Problem: Vim9: #{ can still be used at the script level.
Solution: Give an error for #{ like in a :def function.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 20 Mar 2021 13:30:03 +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