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
|
#!/bin/bash
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# make the target directory and install
|
|
||||||
mkdir -p /var/www/data/project/web/sites/default/libraries/colorbox
|
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/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
|
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
|
#!/bin/bash
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# make the target directory and install
|
|
||||||
mkdir -p /var/www/data/project/web/libraries/DOMPurify/dist/
|
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
|
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
|
#!/bin/bash
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
# version of font awesome to install
|
||||||
|
FAVERSION="6.4.0"
|
||||||
|
|
||||||
FAINFO=`drush pm-list --pipe --type=module --filter=id=fontawesome`
|
FAINFO=`drush pm-list --pipe --type=module --filter=id=fontawesome`
|
||||||
if [[ -z "$FAINFO" ]]; then
|
if [[ -z "$FAINFO" ]]; then
|
||||||
echo "Font Awesome is not installed, aborting"
|
echo "Font Awesome is not installed, aborting"
|
||||||
|
|
@ -13,7 +16,7 @@ pushd "$TEMPDIR"
|
||||||
trap 'popd && rm -rf $TEMPDIR' EXIT
|
trap 'popd && rm -rf $TEMPDIR' EXIT
|
||||||
|
|
||||||
# curl the colorbox zip and unpack it
|
# 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
|
unzip fontawesome.zip
|
||||||
|
|
||||||
# Prepare the fontawesome directory
|
# Prepare the fontawesome directory
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue