patch 8.2.1487: Travis: installing snd-dummy is not always useful

Problem:    Travis: installing snd-dummy is not always useful.
Solution:   Only install snd-dummy on amd64. (Ozaki Kiichi, closes #6738)
This commit is contained in:
Bram Moolenaar
2020-08-19 19:46:12 +02:00
parent f8abbf37d6
commit a7c4e74763
3 changed files with 15 additions and 9 deletions

View File

@ -3,6 +3,6 @@ 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)"
apt-get install -yq --no-install-suggests --no-install-recommends "linux-modules-extra-$(uname -r)"
modprobe snd-dummy
fi