#!/bin/bash

usuario=$(./app/utils/UsuarioLogado.sh)

wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -

sudo echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list

sudo apt-get update

sudo apt-get install sublime-text

#!/bin/bash

usuario=$(./app/utils/UsuarioLogado.sh)

wget https://download.sublimetext.com/sublime-text_build-3126_amd64.deb -O /home/$usuario/Downloads/sublime-text_build-3126_amd64.deb

sudo dpkg -i /home/$usuario/Downloads/sublime-text_build-3126_amd64.deb

sudo apt-get -f install -y

sudo rm /home/$usuario/Downloads/sublime-text_build-3126_amd64.deb

Revert "Atualizando script de instalação do SublimeText"
Revert "Atualizando script de instalação do SublimeText"

This reverts commit 7311602040a5b2da3d25c08fbb1e970ee65aeb29.
