mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 9.0.1548: CI: check in sound-dummy module may throw an error
Problem: CI: check in sound-dummy module may throw an error. Solution: Check whether apt-cache can show the package description. (Christian Brabandt, closes #12390)
This commit is contained in:
committed by
Bram Moolenaar
parent
12eb0f4ec5
commit
ff40b625a6
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@@ -180,8 +180,8 @@ jobs:
|
|||||||
DEST_DIR: ${{ env.TMPDIR }}/linux-modules-extra-${{ env.LINUX_VERSION }}
|
DEST_DIR: ${{ env.TMPDIR }}/linux-modules-extra-${{ env.LINUX_VERSION }}
|
||||||
run: |
|
run: |
|
||||||
cd /lib/modules/${{ env.LINUX_VERSION }}
|
cd /lib/modules/${{ env.LINUX_VERSION }}
|
||||||
if [ sudo apt-get install -d -y linux-modules-extra-${{ env.LINUX_VERSION }} 2>&1 | $(grep "Unable to locate package ") ]; then
|
if apt-cache show linux-modules-extra-${{ env.LINUX_VERSION }} >/dev/null 2>&1 ; then
|
||||||
echo "Download of " linux-modules-extra-${{ env.LINUX_VERSION }} "failed continue anyway" exit 0
|
echo "Module " linux-modules-extra-${{ env.LINUX_VERSION }} "doesn't seem to exist, continue anyway"; exit 0
|
||||||
else
|
else
|
||||||
sudo apt-get install -d -y linux-modules-extra-${{ env.LINUX_VERSION }}
|
sudo apt-get install -d -y linux-modules-extra-${{ env.LINUX_VERSION }}
|
||||||
sudo dpkg -x /var/cache/apt/archives/linux-modules-extra-${{ env.LINUX_VERSION }}*.deb "${DEST_DIR}"
|
sudo dpkg -x /var/cache/apt/archives/linux-modules-extra-${{ env.LINUX_VERSION }}*.deb "${DEST_DIR}"
|
||||||
|
@@ -695,6 +695,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1548,
|
||||||
/**/
|
/**/
|
||||||
1547,
|
1547,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user