Update install.sh

This commit is contained in:
RaspbianProyect by HP3ICC 2023-06-03 11:03:52 +00:00
parent a2a60914fb
commit dcee4334f5
1 changed files with 2 additions and 5 deletions

View File

@ -1,14 +1,11 @@
#!/bin/sh
if [[ $EUID -ne 0 ]]; then
whiptail --title "emq-TE1" --msgbox "Debe ejecutar este script como usuario ROOT" 0 50
exit 0
fi
echo Actualizando sistema
apt-get update -y
apt-get upgrade -y
#!/bin/sh
apps=( "git" "sudo" "curl" "wget" "sed" "wavemon" )
apps=("git" "sudo" "curl" "wget" "sed" "wavemon")
for app in "${apps[@]}"
do