Fix: really install extjs in CDH images at build time
Use the same logic as the configure_extjs snipped used for mapr (we should have a common file for all of them, with just different parameters). It is worth noting that the file is downloaded and copied at runtime if not found, but better support the offline case. Story: 2001992 Task: 19618 Change-Id: I5bdded236abd218891cda1bf7d3f25db90c77fdf
This commit is contained in:
parent
03587a020d
commit
e8bcce90f7
|
@ -5,7 +5,7 @@ EXTJS_DOWNLOAD_URL="https://tarballs.openstack.org/sahara-extra/dist/common-arti
|
|||
|
||||
extjs_archive=/tmp/$(basename $EXTJS_DOWNLOAD_URL)
|
||||
|
||||
if [ ! -n "$EXTJS_DESTINATION_DIR" ]; then
|
||||
if [ ! -f "${EXTJS_DESTINATION_DIR}/${extjs_archive}" ]; then
|
||||
if [ $test_only -eq 0 ]; then
|
||||
wget -O $extjs_archive $EXTJS_DOWNLOAD_URL
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ EXTJS_DOWNLOAD_URL="https://tarballs.openstack.org/sahara-extra/dist/common-arti
|
|||
|
||||
extjs_archive=/tmp/$(basename $EXTJS_DOWNLOAD_URL)
|
||||
|
||||
if [ ! -n "$EXTJS_DESTINATION_DIR" ]; then
|
||||
if [ ! -f "${EXTJS_DESTINATION_DIR}/${extjs_archive}" ]; then
|
||||
if [ $test_only -eq 0 ]; then
|
||||
wget -O $extjs_archive $EXTJS_DOWNLOAD_URL
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ EXTJS_DOWNLOAD_URL="https://tarballs.openstack.org/sahara-extra/dist/common-arti
|
|||
|
||||
extjs_archive=/tmp/$(basename $EXTJS_DOWNLOAD_URL)
|
||||
|
||||
if [ ! -n "$EXTJS_DESTINATION_DIR" ]; then
|
||||
if [ ! -f "${EXTJS_DESTINATION_DIR}/${extjs_archive}" ]; then
|
||||
if [ $test_only -eq 0 ]; then
|
||||
wget -O $extjs_archive $EXTJS_DOWNLOAD_URL
|
||||
|
||||
|
|
Loading…
Reference in New Issue