Skip to content

Commit

Permalink
Merge pull request #267 from stooj/master
Browse files Browse the repository at this point in the history
Fix #266. Set curl to follow redirects
  • Loading branch information
Zach Latta committed Aug 20, 2014
2 parents a116448 + 908b1e9 commit 1b0d3c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion installers/arch.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
UPDATE_URL="https://raw.github.com/marcuswhybrow/minecraft-server-manager/master"
curl "${UPDATE_URL}/installers/common.sh" -o /tmp/msmcommon.sh #wget isn't installed on Arch by default
curl -L "${UPDATE_URL}/installers/common.sh" -o /tmp/msmcommon.sh #wget isn't installed on Arch by default
source /tmp/msmcommon.sh && rm -f /tmp/msmcommon.sh

function update_system_packages() {
Expand Down
2 changes: 1 addition & 1 deletion installers/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ function check_os() {
function get_installer() {
type curl 1>/dev/null 2>&1
if [[ $? -eq 0 ]]; then
curl "${BASE_URL}/${INSTALL_SCRIPT}" -o /tmp/msminst.sh
curl -L "${BASE_URL}/${INSTALL_SCRIPT}" -o /tmp/msminst.sh
else
wget -q "${BASE_URL}/${INSTALL_SCRIPT}" -O /tmp/msminst.sh
fi
Expand Down

0 comments on commit 1b0d3c2

Please sign in to comment.