mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Don't use polite curl in update-atom-shell
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user