Don't use polite curl in update-atom-shell

This commit is contained in:
probablycorey
2013-06-18 17:03:38 -07:00
parent 4449758135
commit 478c617e60

View File

@@ -1,7 +1,5 @@
#!/bin/bash
. $(dirname $0)/lib/polite-curl
cd "$(dirname "${BASH_SOURCE[0]}" )/.."
TARGET=${1:-atom-shell}
@@ -22,7 +20,7 @@ if [[ ${LATEST_VERSION} != ${CURRENT_VERSION} ]]; then
else
echo "Downloading/extracting atom-shell ${LATEST_VERSION}..."
mkdir -p $TEMP_DIR
polite_curl "${DISTURL}/${LATEST_VERSION}/atom-shell.zip" > "${TEMP_DIR}/atom-shell.zip"
curl "${DISTURL}/${LATEST_VERSION}/atom-shell.zip" > "${TEMP_DIR}/atom-shell.zip"
unzip -q "${TEMP_DIR}/atom-shell.zip" -d "${TEMP_DIR}"
rm "${TEMP_DIR}/atom-shell.zip"
fi