Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

修复下载grub2.06时的提示错误 #125

Merged
merged 2 commits into from
Dec 24, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions tools/grub_auto_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down