Update install.sh

This commit is contained in:
星光-k
2025-01-13 15:49:39 +08:00
committed by GitHub
parent 0db4d98671
commit 6b5b8a935a

View File

@@ -187,7 +187,7 @@ update_sources_list() {
# 安装包函数
install_packages() {
echo "正在更新源列表"
if ! sudo apt-get update; then
if ! sudo apt-get update -q; then
echo "更新源列表失败" >&2
exit 1
fi