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:
Luigi Toscano 2018-05-09 17:24:48 +02:00
parent 03587a020d
commit e8bcce90f7
3 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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

View File

@ -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