Skip to content

Instantly share code, notes, and snippets.

Avatar

Sander Wolswijk SanderTheDragon

  • The Netherlands
View GitHub Profile
@SanderTheDragon
SanderTheDragon / postman-deb.sh
Last active Jul 15, 2021
A shellscript to create a Postman .deb file, for simple installation on Debian-based Linux distro's. Also creates a .desktop file.
View postman-deb.sh
#!/bin/sh
ls Postman*.tar.gz > /dev/null 2>&1
if [ $? -eq 0 ]; then
echo "Removing old Postman tarballs"
rm -f $(ls Postman*.tar.gz)
fi
curlExists=$(command -v curl)