Skip to content

Instantly share code, notes, and snippets.

@yarreg
Last active December 29, 2018 11:45
Show Gist options
  • Save yarreg/de38c198f5ef1e18b04aaebb2e676283 to your computer and use it in GitHub Desktop.
Save yarreg/de38c198f5ef1e18b04aaebb2e676283 to your computer and use it in GitHub Desktop.
#!/bin/sh
if [ -z "$URL" ]; then
echo "Please provide script URL"
exit 1
fi
cd /tmp
wget --no-check-certificate -O script.sh $URL
chmod +x script.sh
./script.sh
rm -f script.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment