add calls to other plugins

This commit is contained in:
Jeff Lance 2023-05-09 20:02:21 +02:00
parent 5a66f31417
commit 84e2e11376

View File

@ -27,7 +27,11 @@ for config in ${@}; do
# cmd=("${BASE_DIR}/${META_DIR}/${DOTBOT_DIR}/${DOTBOT_BIN}" -d "${BASE_DIR}" \
# -p "${BASE_DIR}/${META_DIR}/dotbot-yay/yay.py" -c "$configFile")
cmd=("${BASE_DIR}/${DOTBOT_DIR}/${DOTBOT_BIN}" -d "${BASE_DIR}" \
-p "${BASE_DIR}/dotbot_plugins/dotbot-yay/yay.py" -c "$configFile")
-p "${BASE_DIR}/dotbot_plugins/dotbot-apt-get/aptget.py" \
-p "${BASE_DIR}/dotbot_plugins/dotbot-ifplatform/ifplatform.py" \
-p "${BASE_DIR}/dotbot_plugins/dotbot-pamac/pamac.py" \
-p "${BASE_DIR}/dotbot_plugins/dotbot-yay/yay.py" \
-c "$configFile")
if [[ $config == *"sudo"* ]]; then
cmd=(sudo "${cmd[@]}")