Last active
August 29, 2015 14:10
-
-
Save maurobaraldi/37fbae45a37b6c4e87c0 to your computer and use it in GitHub Desktop.
JSONTools install
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
{ | |
echo "Install JSONTools in your environment." | |
echo "You will be prompted for your password by sudo." | |
# clear any previous sudo permission | |
sudo -k | |
# run inside sudo | |
sudo sh <<SCRIPT | |
wget https://gist.githubusercontent.com/maurobaraldi/7562d11c5bec8b519cee/raw/02aa60d0fc91a06350d2188f15cb4ee0411435a0/jsontools -O /usr/bin/jsontools | |
chmod +x /usr/bin/jsontools | |
echo "JSONTools successfuly installed in your environment." | |
echo "To use type jsontools --help" | |
echo "" | |
echo "Thanks for using JSONTools." | |
echo "author: Mauro Baraldi <[email protected]>" | |
SCRIPT | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment