From d02138b21e74740c3cda3fd45c3589c311cfcff8 Mon Sep 17 00:00:00 2001 From: wukongdaily <2666180@gmail.com> Date: Tue, 7 May 2024 17:34:04 +0800 Subject: [PATCH] Update pi.sh --- zero3/pi.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zero3/pi.sh b/zero3/pi.sh index ed3105a..3879bf4 100644 --- a/zero3/pi.sh +++ b/zero3/pi.sh @@ -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