From 141fc6e8e3f836ef3c93c974e2e74a1b9dcdceb5 Mon Sep 17 00:00:00 2001 From: Anthony Axenov Date: Thu, 31 Aug 2023 12:46:39 +0800 Subject: [PATCH] postman misc --- install/postman | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/install/postman b/install/postman index e77f17f..999db63 100755 --- a/install/postman +++ b/install/postman @@ -4,15 +4,17 @@ source `dirname $0`/../helpers || exit 255 # https://learning.postman.com/docs/getting-started/installation-and-updates/#installing-postman-on-linux +# set -ex + title mkdir -p "$HOME/install" && \ "$HOME/.local/bin" && \ "$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" && \ - 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 [Desktop Entry] Name=Postman