add work environment toggle
This commit is contained in:
@@ -30,6 +30,11 @@ declare -a yay_packages
|
||||
yay_packages+=({{ . | quote}})
|
||||
{{ end -}}
|
||||
{{ end -}}
|
||||
{{ if eq .work_env true -}}
|
||||
{{ range .packages.arch.work_env.yay -}}
|
||||
yay_packages+=({{ . | quote}})
|
||||
{{ end -}}
|
||||
{{ end -}}
|
||||
{{ end -}}
|
||||
|
||||
install_yay_system_packages "${yay_packages[@]}"
|
||||
|
||||
Reference in New Issue
Block a user