This commit is contained in:
2024-11-24 21:13:37 +08:00
parent 7bb8a8c839
commit e2c0d1de87
65 changed files with 2306 additions and 437 deletions

View File

@@ -1,6 +1,6 @@
#!/bin/bash
##makedesc: Install postman (latest)
source `dirname $0`/../helpers || exit 255
source "$( dirname $(readlink -e -- "${BASH_SOURCE}"))/../helpers.sh" || exit 255
# https://learning.postman.com/docs/getting-started/installation-and-updates/#installing-postman-on-linux
@@ -13,7 +13,7 @@ mkdir -p "$HOME/install" && \
"$HOME/.local/share/applications"
download "https://dl.pstmn.io/download/latest/linux64" "$HOME/install/postman.tar.gz" && \
unpak_targz "$HOME/install/postman.tar.gz" "$HOME/install" && \
unpack_targz "$HOME/install/postman.tar.gz" "$HOME/install" && \
symlink "$HOME/install/Postman/Postman" "$HOME/.local/bin/postman" && \
cat << EOF > "$HOME/.local/share/applications/Postman.desktop" && sudo update-desktop-database
[Desktop Entry]