Force install to require configs explicitly
This commit is contained in:
parent
6bb6e67a11
commit
8f28b951a7
2 changed files with 1 additions and 2 deletions
3
install
3
install
|
|
@ -2,7 +2,6 @@
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
DEFAULT_CONFIG_PREFIX="default"
|
|
||||||
CONFIG_SUFFIX=".conf.yaml"
|
CONFIG_SUFFIX=".conf.yaml"
|
||||||
|
|
||||||
DOTBOT_DIR="dotbot"
|
DOTBOT_DIR="dotbot"
|
||||||
|
|
@ -13,6 +12,6 @@ BASEDIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||||
cd "${BASEDIR}"
|
cd "${BASEDIR}"
|
||||||
git submodule update --init --recursive "${DOTBOT_DIR}"
|
git submodule update --init --recursive "${DOTBOT_DIR}"
|
||||||
|
|
||||||
for conf in ${DEFAULT_CONFIG_PREFIX} ${@}; do
|
for conf in ${@}; do
|
||||||
"${BASEDIR}/${DOTBOT_DIR}/${DOTBOT_BIN}" -d "${BASEDIR}" -c "${conf}${CONFIG_SUFFIX}"
|
"${BASEDIR}/${DOTBOT_DIR}/${DOTBOT_BIN}" -d "${BASEDIR}" -c "${conf}${CONFIG_SUFFIX}"
|
||||||
done
|
done
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue