cdist-apply can install packages

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2010-09-20 01:25:05 +02:00
commit d98bb4043c
5 changed files with 41 additions and 4 deletions

View file

@ -24,5 +24,5 @@
cdist_package_backend_pacman_install()
{
pacman --noconfirm --noprogressbar "$@"
pacman --noconfirm --noprogressbar -S "$@"
}

View file

@ -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} "$@"
;;
*)