From 3b0311d8e7cbaa70fe468df4788668a38cc1645b Mon Sep 17 00:00:00 2001 From: AnthonyAxenov Date: Sun, 9 Jan 2022 16:49:08 +0800 Subject: [PATCH] =?UTF-8?q?=D0=9A=D0=BE=D1=80=D1=80=D0=B5=D0=BA=D1=82?= =?UTF-8?q?=D0=B8=D1=80=D0=BE=D0=B2=D0=BA=D0=B0=20postman?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install/130-postman.sh | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/install/130-postman.sh b/install/130-postman.sh index 7c70f42..25d498b 100755 --- a/install/130-postman.sh +++ b/install/130-postman.sh @@ -1,24 +1,25 @@ #!/bin/bash -. "../src/01-common.sh" || exit 5 -title "Installing postman (latest)..." +echo +echo "===============================================" +echo "Installing postman (latest)..." +echo "===============================================" +echo wget "https://dl.pstmn.io/download/latest/linux64" -O /tmp/postman.tar.gz # sudo tar -xvzf /tmp/postman.tar.gz -C /usr/local/bin -sudo tar -xzf /tmp/postman.tar.gz -C /usr/local/bin +sudo tar -xzf /tmp/postman.tar.gz -C /usr/local rm /tmp/postman.tar.gz -sudo ln -s /usr/local/bin/Postman/Postman /usr/local/bin/postman +sudo ln -s /usr/local/Postman/Postman /usr/local/bin/postman echo "#!/usr/bin/env xdg-open [Desktop Entry] Name=Postman Exec=/usr/local/bin/postman -Icon=/usr/local/bin/Postman/app/icons/icon_128x128.png +Icon=/usr/local/Postman/app/icons/icon_128x128.png Categories=Utility,Network Terminal=false Type=Application Encoding=UTF-8 " > /home/anthony/.local/share/applications/Postman.desktop sudo update-desktop-database - -installed "postman" && success "Postman installed!" || warning "Something wrong, Postman was not installed"