Skip to content

Instantly share code, notes, and snippets.

@mlocati
mlocati / check-go-pear.phar.sh
Created January 23, 2019 09:35
Check if a go-pear.phar file is an official one
#!/bin/sh
# This script checks if a go-pear.phar is the same as one of the
# ones released on https://github.com/pear/pearweb_phars
#
# MIT License
# Made by Michele Locati <michele@locati.it> on 2019-01-23
set -o errexit
set -o nounset