update runtime scripts
This commit is contained in:
parent
181b474c8f
commit
b91d9aae1e
3 changed files with 4 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue