调整依赖关系

This commit is contained in:
2024-01-31 21:21:12 +08:00
parent fcdd8e7622
commit c77a9b3290
3 changed files with 9 additions and 3 deletions

View File

@@ -6,6 +6,13 @@ if [[ $? == 0 ]]; then
read
exit 1
fi
# 判断是不是 Arch Linux
if [[ -f /etc/arch-release ]]; then
sudo pacman -Syu
sudo pacman -S qemu-user qemu-user-static
echo 安装完成,按回车键后退出
read
fi
sudo apt update
sudo apt install binfmt-support qemu-user qemu-user-static -y
echo 安装完成,按回车键后退出