Select Git revision
install 483 B
#!/bin/bash
# Copyright: 2017 - 2018 - MIT License
# Source: https://github.com/envygeeks/devfiles
# Author: Jordon Bedwell
[ "$DEBUG" = "true" ] && set -x
set -e
f=script/script.d/install
if [ "$SKIP_SCRIPTD" != "true" ] && [ -x $f ]; then
exec $f "$@"
else
if [[ "$CI" != "true" ]]; then
bundle check 1>/dev/null 2>&1 && bundle update ||
bundle install --path vendor/bundle
bundle clean
else
sudo mkdir -p /etc/docker
sudo service docker restart
fi
fi