Update pi.sh

This commit is contained in:
悟空的日常镜像仓库 2024-05-07 17:34:04 +08:00
parent 8d63f00ae7
commit d02138b21e
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ update_system_packages() {
sudo DEBIAN_FRONTEND=noninteractive apt-get upgrade -y
if ! command -v curl &> /dev/null; then
red "curl is not installed. Installing now..."
sudo apt update && sudo apt install -y curl
sudo apt install -y curl
if command -v curl &> /dev/null; then
green "curl has been installed successfully."
else