Mercurial > vim
view ci/load-snd-dummy.sh @ 23237:033b2a97d59b v8.2.2164
patch 8.2.2164: Vim9: autoload function doesn't work in uppercased script
Commit: https://github.com/vim/vim/commit/17f700ac8b55f27ddb519ecaa8acaa43fc1ae60a
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Dec 19 21:23:42 2020 +0100
patch 8.2.2164: Vim9: autoload function doesn't work in uppercased script
Problem: Vim9: autoload function doesn't work in script that starts with
an upper case letter.
Solution: Check for the autoload character. (closes #7502)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 19 Dec 2020 21: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