File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- #! /bin/bash
1+ #! /bin/sh
2+
23set -e
34
4- bootstrap_checksum=' 3258c873cbcb1e2d81f4374afea2ea6437d9eee9077041073fd81dd579c5ba6b' ;
5+ bootstrap_checksum=' 3258c873cbcb1e2d81f4374afea2ea6437d9eee9077041073fd81dd579c5ba6b'
56
67check () {
78 echo " $1 $2 " | sha256sum -c - || (echo " checksum failed: $2 (does not match $1 )" ; exit 1)
1415install_dir=" $1 "
1516
1617bootstrap=" $( mktemp /tmp/bootstrap.XXXXXXXXX) "
17- curl -L -s -o $bootstrap https://github.com/twbs/bootstrap/releases/download/v5.3.8/bootstrap-5.3.8-dist.zip
18- check $bootstrap_checksum $bootstrap
18+ curl -L -s -o " $bootstrap " https://github.com/twbs/bootstrap/releases/download/v5.3.8/bootstrap-5.3.8-dist.zip
19+ check " $bootstrap_checksum " " $bootstrap "
1920
2021rm -rf " $install_dir /bootstrap"
21- unzip -q -d " $install_dir " $bootstrap
22+ unzip -q -d " $install_dir " " $bootstrap "
2223mv " $install_dir /bootstrap-5.3.8-dist" " $install_dir /bootstrap"
23- rm $bootstrap
24+ rm " $bootstrap "
2425echo " landing page dependencies for mod_invites installed to $install_dir "
You can’t perform that action at this time.
0 commit comments