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"] [submodule "dotbot_plugins/dotbot-conditional"]
path = dotbot_plugins/dotbot-conditional path = dotbot_plugins/dotbot-conditional
url = https://gitlab.com/gnfzdz/dotbot-conditional.git 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}" \ # cmd=("${BASE_DIR}/${META_DIR}/${DOTBOT_DIR}/${DOTBOT_BIN}" -d "${BASE_DIR}" \
# -p "${BASE_DIR}/${META_DIR}/dotbot-yay/yay.py" -c "$configFile") # -p "${BASE_DIR}/${META_DIR}/dotbot-yay/yay.py" -c "$configFile")
cmd=("${BASE_DIR}/${DOTBOT_DIR}/${DOTBOT_BIN}" -d "${BASE_DIR}" \ 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-apt-get/aptget.py" \
-p "${BASE_DIR}/dotbot_plugins/dotbot-conditional/conditional.py" \ -p "${BASE_DIR}/dotbot_plugins/dotbot-conditional/conditional.py" \
-p "${BASE_DIR}/dotbot_plugins/dotbot-pamac/pamac.py" \ -p "${BASE_DIR}/dotbot_plugins/dotbot-pamac/pamac.py" \

View File

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

View File

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