Skip to content

Commit

Permalink
Allow redirects when curling.
Browse files Browse the repository at this point in the history
Fixes #14.
  • Loading branch information
jridgewell committed May 30, 2014
1 parent 1bd0597 commit e961878
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions install.sh
Expand Up @@ -2,7 +2,7 @@
if [[ `whoami` != "root" ]]; then
# Run as root to avoid Console logging sudo commands.
echo "Attempting to re-run as root..."
curl https://raw.github.com/jridgewell/Unlock/master/install.sh -o install.sh
curl -L https://raw.github.com/jridgewell/Unlock/master/install.sh -o install.sh
chmod +x install.sh

sudo bash ./install.sh
Expand All @@ -17,8 +17,8 @@ echo "--------------------------"
echo ""
echo "Downloading..."
# Download the needed files.
curl "https://raw.github.com/jridgewell/Unlock/master/files/name.ridgewell.unlock.plist" -o name.ridgewell.unlock.plist
curl "https://github.com/downloads/jridgewell/Unlock/name.ridgewell.unlock" --location -o name.ridgewell.unlock
curl -L "https://raw.github.com/jridgewell/Unlock/master/files/name.ridgewell.unlock.plist" -o name.ridgewell.unlock.plist
curl -L "https://github.com/downloads/jridgewell/Unlock/name.ridgewell.unlock" --location -o name.ridgewell.unlock

echo "--------------------------"
echo ""
Expand Down

0 comments on commit e961878

Please sign in to comment.