-
-
Save tsolar/e4ff4ced4fc7fd2d8e010770424e87f6 to your computer and use it in GitHub Desktop.
Revisions
-
pierremonico revised this gist
Apr 10, 2017 . 1 changed file with 6 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -17,5 +17,11 @@ if [ -L "/usr/bin/postman" ];then fi sudo ln -s /opt/Postman/Postman /usr/bin/postman echo "Creating .desktop file..." if [ -e "/usr/share/applications/Postman.desktop" ];then sudo rm /usr/share/applications/Postman.desktop fi sudo mv Postman.desktop /usr/share/applications/Postman.desktop echo "Installation completed successfully." echo "You can use Postman!" -
aviskase revised this gist
Oct 27, 2016 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -2,7 +2,7 @@ Encoding=UTF-8 Name=Postman Exec=postman Icon=/opt/Postman/resources/app/assets/icon.png Terminal=false Type=Application Categories=Development; -
aviskase created this gist
Oct 27, 2016 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,8 @@ [Desktop Entry] Encoding=UTF-8 Name=Postman Exec=postman Icon=postman Terminal=false Type=Application Categories=Development; This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,21 @@ #!/bin/bash cd /tmp || exit echo "Downloading Postman ..." wget -q https://dl.pstmn.io/download/latest/linux?arch=64 -O postman.tar.gz tar -xzf postman.tar.gz rm postman.tar.gz echo "Installing to opt..." if [ -d "/opt/Postman" ];then sudo rm -rf /opt/Postman fi sudo mv Postman /opt/Postman echo "Creating symbolic link..." if [ -L "/usr/bin/postman" ];then sudo rm -f /usr/bin/postman fi sudo ln -s /opt/Postman/Postman /usr/bin/postman echo "Installation completed successfully." echo "You can use Postman!"