This commit is contained in:
spiritlhl 2023-06-30 08:50:41 +00:00
parent 57a7dd5ed8
commit c5789b65ef

View file

@ -64,6 +64,10 @@ install_package() {
exit 1
fi
apt-get install -y $package_name --fix-missing
else
_green "$package_name tried to install but failed, exited the program"
_green "$package_name 已尝试安装但失败,退出程序"
exit 1
fi
fi
_green "$package_name tried to install"