Add execution log of install.sh and condition to exit

This commit is contained in:
Gabriel 2021-11-04 16:02:52 -03:00
parent debbb32d91
commit d5528d5887
1 changed files with 2 additions and 2 deletions

View File

@ -9,9 +9,9 @@
#########################################################################################################################
apt update > /tmp/install-osx-proxmox.log 2>> /tmp/install-osx-proxmox.log
apt install git -y > /tmp/install-osx-proxmox.log 2>> /tmp/install-osx-proxmox.log
apt install git -y >> /tmp/install-osx-proxmox.log 2>> /tmp/install-osx-proxmox.log
git clone https://github.com/luchina-gabriel/OSX-PROXMOX.git > /tmp/install-osx-proxmox.log 2>> /tmp/install-osx-proxmox.log
git clone https://github.com/luchina-gabriel/OSX-PROXMOX.git >> /tmp/install-osx-proxmox.log 2>> /tmp/install-osx-proxmox.log
if [ $? -ne 0 ]; then echo "Problem to clone repository from GitHub"; exit; fi;