forked from ungleich-public/cdist
cdist-apply can install packages
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
parent
9ac20660ef
commit
d98bb4043c
5 changed files with 41 additions and 4 deletions
|
|
@ -24,5 +24,5 @@
|
|||
|
||||
cdist_package_backend_pacman_install()
|
||||
{
|
||||
pacman --noconfirm --noprogressbar "$@"
|
||||
pacman --noconfirm --noprogressbar -S "$@"
|
||||
}
|
||||
|
|
@ -25,9 +25,9 @@ cdist_package()
|
|||
backend="$(cdist_package_select_backend)"
|
||||
|
||||
case "$1" in
|
||||
install|remove)
|
||||
install|uninstall)
|
||||
operation="$1"; shift
|
||||
echo ${backend}_${operation} "$@"
|
||||
${backend}_${operation} "$@"
|
||||
;;
|
||||
|
||||
*)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue