From a7f5ca7b67160557abf84a1169dd60093220aeb0 Mon Sep 17 00:00:00 2001 From: YJwu2023 <119829947+YJwu2023@users.noreply.github.com> Date: Sat, 24 Dec 2022 23:29:36 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=B8=8B=E8=BD=BDgrub2.06?= =?UTF-8?q?=E6=97=B6=E7=9A=84=E6=8F=90=E7=A4=BA=E9=94=99=E8=AF=AF=20(#125)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 修复grub下载显示提示显示错误 --- tools/grub_auto_install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/grub_auto_install.sh b/tools/grub_auto_install.sh index 59ca6a6a..7a31ffa3 100644 --- a/tools/grub_auto_install.sh +++ b/tools/grub_auto_install.sh @@ -25,14 +25,14 @@ if ! hash 2>/dev/null apt-get; then echo "脚本暂不支持对该系统下grub的安装,请手动完成" exit 0 fi + #下载grub2.06 if [ ! -f "grub-2.06.tar.xz" ]; then + echo "开始下载grub2.06" wget https://mirrors.ustc.edu.cn/gnu/grub/grub-2.06.tar.xz || exit 1 + echo "下载完成" fi -echo "开始下载grub2.06" - -echo "下载完成" tar xvf grub-2.06.tar.xz #安装对应依赖 sudo apt-get update