Postman fixed and updated
This commit is contained in:
parent
cc2ab13310
commit
8d64efba39
@ -7,21 +7,21 @@ echo "Installing postman (latest)..."
|
|||||||
echo "==============================================="
|
echo "==============================================="
|
||||||
echo
|
echo
|
||||||
|
|
||||||
wget "https://dl.pstmn.io/download/latest/linux64" -O /tmp/postman.tar.gz
|
mkdir -p ${HOME}/install/postman
|
||||||
# sudo tar -xvzf /tmp/postman.tar.gz -C /usr/local/bin
|
# mkdir -p ${HOME}/.local/bin
|
||||||
sudo tar -xzf /tmp/postman.tar.gz -C /usr/local
|
# wget "https://dl.pstmn.io/download/latest/linux64" -O ${HOME}/install/postman.tar.gz && \
|
||||||
rm /tmp/postman.tar.gz
|
tar -xzf ${HOME}/install/postman.tar.gz -C ${HOME}/install/postman && \
|
||||||
sudo ln -s /usr/local/Postman/Postman /usr/local/bin/postman
|
ln -s ${HOME}/install/postman/Postman/Postman ${HOME}/.local/bin/postman && \
|
||||||
|
cat << EOF > ${HOME}/.local/share/applications/Postman.desktop
|
||||||
echo "#!/usr/bin/env xdg-open
|
#!/usr/bin/env xdg-open
|
||||||
|
|
||||||
[Desktop Entry]
|
[Desktop Entry]
|
||||||
Name=Postman
|
Name=Postman
|
||||||
Exec=/usr/local/bin/postman
|
Exec=${HOME}/.local/bin/postman
|
||||||
Icon=/usr/local/Postman/app/icons/icon_128x128.png
|
Icon=${HOME}/install/postman/Postman/app/icons/icon_128x128.png
|
||||||
Categories=Utility,Network
|
Categories=Utility,Network
|
||||||
Terminal=false
|
Terminal=false
|
||||||
Type=Application
|
Type=Application
|
||||||
Encoding=UTF-8
|
Encoding=UTF-8
|
||||||
" > $HOME/.local/share/applications/Postman.desktop
|
EOF
|
||||||
sudo update-desktop-database
|
sudo update-desktop-database
|
||||||
|
Loading…
Reference in New Issue
Block a user