view ci/load-snd-dummy.sh @ 21662:21304d9c47e9 v8.2.1381

patch 8.2.1381: MS-Windows: crash with Python 3.5 when stdin is redirected Commit: https://github.com/vim/vim/commit/56b8dc331dc7f499c8221ed7d1c7795ad5e3bdeb Author: Bram Moolenaar <Bram@vim.org> Date: Thu Aug 6 21:47:11 2020 +0200 patch 8.2.1381: MS-Windows: crash with Python 3.5 when stdin is redirected Problem: MS-Windows: crash with Python 3.5 when stdin is redirected. Solution: Reconnect stdin. (Yasuhiro Matsumoto, Ken Takata, closes https://github.com/vim/vim/issues/6641)
author Bram Moolenaar <Bram@vim.org>
date Thu, 06 Aug 2020 22:00:04 +0200
parents c94c103e7cb4
children 3a7017ee1161
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 install -y "linux-modules-extra-$(uname -r)"
    modprobe snd-dummy
fi