postman misc
This commit is contained in:
parent
f8f3210585
commit
141fc6e8e3
@ -4,15 +4,17 @@ source `dirname $0`/../helpers || exit 255
|
|||||||
|
|
||||||
# https://learning.postman.com/docs/getting-started/installation-and-updates/#installing-postman-on-linux
|
# https://learning.postman.com/docs/getting-started/installation-and-updates/#installing-postman-on-linux
|
||||||
|
|
||||||
|
# set -ex
|
||||||
|
|
||||||
title
|
title
|
||||||
|
|
||||||
mkdir -p "$HOME/install" && \
|
mkdir -p "$HOME/install" && \
|
||||||
"$HOME/.local/bin" && \
|
"$HOME/.local/bin" && \
|
||||||
"$HOME/.local/share/applications"
|
"$HOME/.local/share/applications"
|
||||||
|
|
||||||
download "https://dl.pstmn.io/download/latest/linux64" $HOME/install/postman.tar.gz && \
|
download "https://dl.pstmn.io/download/latest/linux64" "$HOME/install/postman.tar.gz" && \
|
||||||
unpak_targz "$HOME/install/postman.tar.gz" "$HOME/install" && \
|
unpak_targz "$HOME/install/postman.tar.gz" "$HOME/install" && \
|
||||||
symlink $HOME/install/Postman/Postman $HOME/.local/bin/postman && \
|
symlink "$HOME/install/Postman/Postman" "$HOME/.local/bin/postman" && \
|
||||||
cat << EOF > "$HOME/.local/share/applications/Postman.desktop" && sudo update-desktop-database
|
cat << EOF > "$HOME/.local/share/applications/Postman.desktop" && sudo update-desktop-database
|
||||||
[Desktop Entry]
|
[Desktop Entry]
|
||||||
Name=Postman
|
Name=Postman
|
||||||
|
Loading…
Reference in New Issue
Block a user