From 003cc5937888f1f611ea47c230e816a45a9cbcc8 Mon Sep 17 00:00:00 2001 From: Mike Elser Date: Thu, 4 May 2017 18:03:47 -0700 Subject: [PATCH] Corrected download path --- setup/web.sh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/setup/web.sh b/setup/web.sh index f87eacff..17b4f475 100755 --- a/setup/web.sh +++ b/setup/web.sh @@ -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