Updated install to fix local.conf.yaml inclusion

This commit is contained in:
Eric Renfro 2018-06-05 15:50:41 -04:00
parent 916bb6a0cf
commit 6287145355
Signed by untrusted user who does not match committer: psi-jack
GPG key ID: 14977F3A50D9A5BF

View file

@ -1,6 +1,6 @@
#!/usr/bin/env bash
set -e
#set -e
CONFIG="install.conf.yaml"
DOTBOT_DIR="dotbot"
@ -15,6 +15,6 @@ git submodule update --init --recursive "${DOTBOT_DIR}"
# Run local dotbot if any
if [[ -r "${HOME}/.local/dotfiles/local.conf.yaml" ]]; then
"${BASEDIR}/${DOTBOT_DIR}/${DOTBOT_BIN}" -d "${HOME}/.local/dotfiles" -c "local.conf.yaml" "${@}"
"${BASEDIR}/${DOTBOT_DIR}/${DOTBOT_BIN}" -d "${HOME}/.local/dotfiles" -c "${HOME}/.local/dotfiles/local.conf.yaml" "${@}"
fi