From 2a7de9481ed99fdf41bde51a18ac368787f5d66b Mon Sep 17 00:00:00 2001 From: Ian Faust Date: Thu, 7 Nov 2024 08:26:44 +0100 Subject: [PATCH] Update apt.sh --- .ci/env/apt.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.ci/env/apt.sh b/.ci/env/apt.sh index 8f25b52ec18..4cf901d5d49 100755 --- a/.ci/env/apt.sh +++ b/.ci/env/apt.sh @@ -59,7 +59,8 @@ function install_qemu_emulation_apt { } function install_qemu_emulation_deb { - found_version=`wget -q http://ftp.debian.org/debian/pool/main/q/qemu/ -O - | grep -oP "(?<=\")$1_.*_amd64.deb(?=\")" | tail -1` + # get last version of qemu listed on debian, changes may need to occur to this with version 10 of qemu + found_version=$(wget -q http://ftp.debian.org/debian/pool/main/q/qemu/ -O - | grep -oP "(?<=\")$1_.*_amd64.deb(?=\")" | tail -1) wget http://ftp.debian.org/debian/pool/main/q/qemu/${found_version} sudo dpkg -i ${found_version} sudo systemctl restart systemd-binfmt.service