You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
400 B
18 lines
400 B
3 years ago
|
#!/usr/bin/env bash
|
||
|
|
||
|
set -e
|
||
|
|
||
|
CONFIG="install.conf.yaml"
|
||
|
DOTBOT_DIR="dotbot"
|
||
|
|
||
|
PLUGIN_YAY="dotbot-yay/yay.py"
|
||
|
|
||
|
DOTBOT_BIN="bin/dotbot"
|
||
|
BASEDIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||
|
|
||
|
cd "${BASEDIR}"
|
||
|
git -C "${DOTBOT_DIR}" submodule sync --quiet --recursive
|
||
|
git submodule update --init --recursive "${DOTBOT_DIR}"
|
||
|
|
||
|
"${BASEDIR}/${DOTBOT_DIR}/${DOTBOT_BIN}" -d "${BASEDIR}" -c "${CONFIG}" "${@}"
|