Update pi.sh
This commit is contained in:
parent
8d63f00ae7
commit
d02138b21e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue