File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33readonly THIS_SCRIPT=" $( readlink -f " ${BASH_SOURCE[0]} " ) "
44readonly BOOTSTRAP=" $( dirname " $THIS_SCRIPT " ) /resources/bootstrap.inc.sh"
55readonly BOOTSTRAP_VERSION=v1.0.10
6- [ -f " $BOOTSTRAP " ] && source " $BOOTSTRAP " || source <( curl -H " Cache-Control: no-cache" -fs https://raw.githubusercontent.com/keymanapp/shared-sites/$BOOTSTRAP_VERSION /bootstrap.inc.sh)
6+ if ! [ -f " $BOOTSTRAP " ] || ! source " $BOOTSTRAP " ; then
7+ curl -H " Cache-Control: no-cache" --fail --silent --show-error -w " curl: Finished attempt to download %{url}" " https://raw.githubusercontent.com/keymanapp/shared-sites/$BOOTSTRAP_VERSION /bootstrap.inc.sh" -o " $BOOTSTRAP .tmp" || exit 1
8+ source " $BOOTSTRAP .tmp"
9+ rm -f " $BOOTSTRAP .tmp"
10+ fi
711# # END STANDARD SITE BUILD SCRIPT INCLUDE
812
913readonly KEYMAN_CONTAINER_NAME=keyman-website
You can’t perform that action at this time.
0 commit comments