Skip to content

Commit

Permalink
Update apt.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
icfaust authored Nov 7, 2024
1 parent 3e19d02 commit 2a7de94
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .ci/env/apt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2a7de94

Please sign in to comment.