
Switch to a different URL, found here [1], which works and point to the same ext-2.2.zip as used so far. [1] https://issues.cloudera.org/browse/DISTRO-476 Change-Id: I4a74c0d4d870683c4e4cc311736cd74349563fab Closes-Bug: #1444348
20 lines
435 B
Bash
Executable File
20 lines
435 B
Bash
Executable File
#!/bin/bash
|
|
|
|
if [ "${DIB_DEBUG_TRACE:-0}" -gt 0 ]; then
|
|
set -x
|
|
fi
|
|
set -eu
|
|
set -o pipefail
|
|
|
|
EXTJS_DOWNLOAD_URL=${EXTJS_DOWNLOAD_URL:-"http://dev.sencha.com/deploy/ext-2.2.zip"}
|
|
|
|
extjs_archive=/tmp/$(basename $EXTJS_DOWNLOAD_URL)
|
|
|
|
mkdir -p $EXTJS_DESTINATION_DIR
|
|
if [ -z "${EXTJS_NO_UNPACK:-}" ]; then
|
|
unzip -d "$EXTJS_DESTINATION_DIR" $extjs_archive
|
|
rm -f $extjs_archive
|
|
else
|
|
mv $extjs_archive $EXTJS_DESTINATION_DIR
|
|
fi
|