mirror of
https://github.com/vim/vim
synced 2025-07-16 01:01:58 +00:00
Problem: Travis: installing snd-dummy is not always useful. Solution: Only install snd-dummy on amd64. (Ozaki Kiichi, closes #6738)
9 lines
244 B
Bash
9 lines
244 B
Bash
#!/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
|