Add groups to autoinstall
All checks were successful
/ build-artifacts (autoinstall) (push) Successful in 17s
/ build-artifacts (autostart-manage) (push) Successful in 15s
/ upload-release (push) Successful in 15s

This commit is contained in:
Tobias Reisinger 2024-02-01 15:51:33 +01:00
parent ef3602167e
commit c5316e8318
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
3 changed files with 3 additions and 4 deletions

View file

@ -1,6 +1,6 @@
name: autoinstall
help: Install files, repository and else
version: 0.1.1
version: 0.1.2
flags:
- long: --clean

View file

@ -5,11 +5,10 @@ clean=${args[--clean]:-}
_config_query() {
tomlq -c --arg group "$group" \
'.autoinstall | map(select(.group == $group)) | '"$1" \
'.autoinstall | map(select(.groups + ["all"] | contains([$group]))) | '"$1" \
"$XDG_CONFIG_HOME/autoinstall.toml"
}
#length=$(_config_query "length")
_config_query ".[]" | while read -r entry; do
install_args=()

View file

@ -1,6 +1,6 @@
name: autostart-manage
help: Manage autostart
version: 0.1.1
version: 0.1.2
dependencies:
tomlq: please install yq (https://github.com/kislyuk/yq)