Last active
October 3, 2018 19:14
-
-
Save henriquecarv/3ddf378637191496229d38b8eb9d01bc to your computer and use it in GitHub Desktop.
Itau Warsaw Guardian Installer - Ubuntu 18.04
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo apt update | |
cd ~/Downloads | |
wget https://guardiao.itau.com.br/warsaw/warsaw_setup_64.deb | |
dpkg-deb -x ~/Downloads/warsaw_setup_64.deb /tmp/warsaw | |
dpkg-deb --control warsaw_setup_64.deb /tmp/warsaw/DEBIAN/ | |
sudo sed -i -e 's/python-gpgme,//g' /tmp/warsaw/DEBIAN/control | |
sudo sed -i -e 's/libcurl3/libcurl4/g' /tmp/warsaw/DEBIAN/control | |
sudo apt -y install python-pip | |
sudo apt -y install libgpgme-dev | |
sudo pip install pygpgme | |
sudo apt install python-openssl -y | |
sudo apt install libcurl4 -y | |
dpkg -b /tmp/warsaw/ ~/Documents/warsaw_18.04.deb | |
cd ~/Documents | |
sudo dpkg -i ~/Documents/warsaw_18.04.deb | |
rm ~/Downloads/warsaw_setup_64.deb ~/Documents/warsaw_18.04.deb | |
rm -rf /tmp/warsaw | |
echo "Itau Guardian installed successfully!" | |
# Credits: https://medium.com/@miguel.nunes.72/como-instalar-o-warsaw-programa-de-seguran%C3%A7a-banc%C3%A1ria-no-ubuntu-18-04-aa2bdf86ba55 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@gnumoreno
I haven't seen this message while preparing the script, but maybe one of the first commands didn't execute as it should.
Probably this one:
dpkg-deb -x ~/Downloads/warsaw_setup_64.deb /tmp/warsaw
Can you try running again? Only this time go with bash instead of shell. I've been having better results with it.