Corrected download path

This commit is contained in:
Mike Elser 2017-05-04 18:03:47 -07:00
parent 228773b4ce
commit 003cc59378
1 changed files with 8 additions and 8 deletions

View File

@ -89,7 +89,7 @@ chown -R $STORAGE_USER $STORAGE_ROOT/www
# download jQuery and Bootstrap local files
if [ ! -d $STORAGE_ROOT/www/default/assets ]; then
echo "Downloading Assets..."
echo "Downloading Assets (jQuery/Bootstrap)..."
js_lib=$STORAGE_ROOT/www/default/assets/js/lib
css_lib=$STORAGE_ROOT/www/default/assets/css/lib
@ -100,24 +100,24 @@ if [ ! -d $STORAGE_ROOT/www/default/assets ]; then
#Bootstrap CDN URL
bootstrap_version=3.3.7
bootstrap_url=https://maxcdn.bootstrapcdn.com/bootstrap/$bootstrap_version/css
bootstrap_url=https://maxcdn.bootstrapcdn.com/bootstrap/$bootstrap_version
#get the Javascript files
if [ ! -d $js_lib ]; then
mkdir -p $js_lib
wget_verify $jquery_url/jquery-$jquery_version.min.js 43dc554608df885a59ddeece1598c6ace434d747 $js_lib
wget_verify https://maxcdn.bootstrapcdn.com/bootstrap/$bootstrap_version/js/bootstrap.min.js 430a443d74830fe9be26efca431f448c1b3740f9 $js_lib
wget_verify $jquery_url/jquery-$jquery_version.min.js 43dc554608df885a59ddeece1598c6ace434d747 $js_lib/jquery-$jquery_version.min.js
wget_verify $bootstrap_url/js/bootstrap.min.js 430a443d74830fe9be26efca431f448c1b3740f9 $js_lib/bootstrap.min.js
fi
# get the CSS(map) files
if [ ! -d $css_lib ]; then
mkdir -p $css_lib
wget_verify $bootstrap_url/bootstrap-theme.min.css 8256575374f430476bdcd49de98c77990229ce31 $css_lib
wget_verify $bootstrap_url/bootstrap-theme.min.css.map 87f7dfd79d77051ac2eca7d093d961fbd1c8f6eb $css_lib
wget_verify $bootstrap_url/bootstrap.min.css 6527d8bf3e1e9368bab8c7b60f56bc01fa3afd68 $css_lib
wget_verify $bootstrap_url/bootstrap.min.css.map e0d7b2bde55a0bac1b658a507e8ca491a6729e06 $css_lib
wget_verify $bootstrap_url/css/bootstrap-theme.min.css 8256575374f430476bdcd49de98c77990229ce31 $css_lib/bootstrap-theme.min.css
wget_verify $bootstrap_url/css/bootstrap-theme.min.css.map 87f7dfd79d77051ac2eca7d093d961fbd1c8f6eb $css_lib/bootstrap-theme.min.css.map
wget_verify $bootstrap_url/css/bootstrap.min.css 6527d8bf3e1e9368bab8c7b60f56bc01fa3afd68 $css_lib/bootstrap.min.css
wget_verify $bootstrap_url/css/bootstrap.min.css.map e0d7b2bde55a0bac1b658a507e8ca491a6729e06 $css_lib/bootstrap.min.css.map
fi
fi