Update install.sh

This commit is contained in:
Esteban Mackay Q 2023-10-18 22:53:56 -05:00
parent e2f78877bc
commit 10c8d118c0
1 changed files with 5 additions and 5 deletions

View File

@ -1,5 +1,9 @@
#!/bin/bash
##############################
cat > /opt/emq-ver <<- "EOF"
EMQ-VER: 23.10.18
EOF
##############################
# Verificar si el usuario tiene permisos de root
if [[ $EUID -ne 0 ]]; then
echo "Este script debe ejecutarse como usuario ROOT"
@ -87,10 +91,6 @@ rustup default 1.72.0
echo "Instalación completa."
####################
sudo cat > /opt/emq-ver <<- "EOF"
EMQ-VER: 23.10.18
EOF
####################
sudo timedatectl set-timezone America/Panama
####################################################################################