Last active
March 28, 2018 15:03
-
-
Save evaldobarbosa/4f6c99d2699f25d3b434e9b4725d005b to your computer and use it in GitHub Desktop.
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 | |
apt-get install libgconf-2-4 -y | |
POSTMAN='postman-latest.tar.gz' | |
if [ ! -f $POSTMAN ]; then | |
curl -o $POSTMAN https://dl.pstmn.io/download/latest/linux64 | |
fi | |
tar zvxf $POSTMAN | |
POSTMAN_FOLDER=$(ls Postman*) | |
mv $POSTMAN_FOLDER /opt/ | |
ln -s /opt/Postman/Postman /usr/local/bin/postman | |
if [ ! -f $POSTMAN ]; then | |
rm -rf $POSTMAN | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment