diff --git a/internal/dis/component/instances/runtime/install_colorbox.sh b/internal/dis/component/instances/runtime/install_colorbox.sh index a21fa45..4040719 100644 --- a/internal/dis/component/instances/runtime/install_colorbox.sh +++ b/internal/dis/component/instances/runtime/install_colorbox.sh @@ -1,7 +1,6 @@ #!/bin/bash set -e -# make the target directory and install mkdir -p /var/www/data/project/web/sites/default/libraries/colorbox curl -L https://raw.githubusercontent.com/jackmoore/colorbox/master/LICENSE.md -o /var/www/data/project/web/sites/default/libraries/colorbox/LICENSE.md curl -L https://raw.githubusercontent.com/jackmoore/colorbox/master/jquery.colorbox-min.js -o /var/www/data/project/web/sites/default/libraries/colorbox/jquery.colorbox-min.js diff --git a/internal/dis/component/instances/runtime/install_dompurify.sh b/internal/dis/component/instances/runtime/install_dompurify.sh index cfe8d22..41f7174 100644 --- a/internal/dis/component/instances/runtime/install_dompurify.sh +++ b/internal/dis/component/instances/runtime/install_dompurify.sh @@ -1,6 +1,5 @@ #!/bin/bash set -e -# make the target directory and install mkdir -p /var/www/data/project/web/libraries/DOMPurify/dist/ curl -L https://raw.githubusercontent.com/cure53/DOMPurify/main/dist/purify.min.js -o /var/www/data/project/web/libraries/DOMPurify/dist/purify.min.js \ No newline at end of file diff --git a/internal/dis/component/instances/runtime/local_fontawesome.sh b/internal/dis/component/instances/runtime/local_fontawesome.sh index c863169..1d4ff88 100644 --- a/internal/dis/component/instances/runtime/local_fontawesome.sh +++ b/internal/dis/component/instances/runtime/local_fontawesome.sh @@ -1,6 +1,9 @@ #!/bin/bash set -e +# version of font awesome to install +FAVERSION="6.4.0" + FAINFO=`drush pm-list --pipe --type=module --filter=id=fontawesome` if [[ -z "$FAINFO" ]]; then echo "Font Awesome is not installed, aborting" @@ -13,7 +16,7 @@ pushd "$TEMPDIR" trap 'popd && rm -rf $TEMPDIR' EXIT # curl the colorbox zip and unpack it -curl -L https://use.fontawesome.com/releases/v6.4.0/fontawesome-free-6.4.0-web.zip --output fontawesome.zip +curl -L https://use.fontawesome.com/releases/v${FAVERSION}/fontawesome-free-${FAVERSION}-web.zip -o fontawesome.zip unzip fontawesome.zip # Prepare the fontawesome directory