Skip to content

Instantly share code, notes, and snippets.

View amjiddader's full-sized avatar
👨‍💻
Working on my heath lol

AMJID DADER amjiddader

👨‍💻
Working on my heath lol
View GitHub Profile
@amjiddader
amjiddader / postman-deb.sh
Created May 3, 2022 13:23 — forked from SanderTheDragon/postman-deb.sh
A shellscript to create a Postman .deb file, for simple installation on Debian-based Linux distro's. Also creates a .desktop file.
#!/bin/sh
curlExists=$(command -v curl)
echo "Testing Postman version"
targetName=""
if [ -z $curlExists ]; then
targetName=$(wget -S --spider "https://dl.pstmn.io/download/latest/linux64" 2>&1 | grep "Content-Disposition" | awk -F '=' '{ print $2 }')
else