This commit is contained in:
Jeff Lance 2023-08-02 20:36:18 +02:00
parent 71cdc134a8
commit 20fcfe037b
5 changed files with 13 additions and 12 deletions

3
.gitmodules vendored
View File

@ -17,3 +17,6 @@
[submodule "dotbot_plugins/dotbot-conditional"]
path = dotbot_plugins/dotbot-conditional
url = https://gitlab.com/gnfzdz/dotbot-conditional.git
[submodule "dotbot_plugins/dotbot-if"]
path = dotbot_plugins/dotbot-if
url = https://github.com/wonderbeyond/dotbot-if.git

@ -0,0 +1 @@
Subproject commit 2b4dc56943741d372881575cfc6e199103157220

View File

@ -27,6 +27,7 @@ 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-if/if.py" \
-p "${BASE_DIR}/dotbot_plugins/dotbot-apt-get/aptget.py" \
-p "${BASE_DIR}/dotbot_plugins/dotbot-conditional/conditional.py" \
-p "${BASE_DIR}/dotbot_plugins/dotbot-pamac/pamac.py" \

View File

@ -15,9 +15,4 @@
'~/.config'
]
- ifanylinux:
- shell:
- [
echo "Archlinux test", "Using ifplatform module."
]

View File

@ -18,10 +18,11 @@
description: Delete the test file.
quiet: true
- ifarch:
- shell:
-
command: echo "Test du plugin ifplatform."
stdout: true
description: Test ifplatform
quiet: false
- if:
- cond: 'test $(distro -j | jq ".id" | grep manjaro)'
met:
- shell:
- echo "Using Manjaro"
unmet:
- shell:
- echo "Not using Manjaro"