From b09d9786d25c31428f6175e1adaa84d6b9dbb6e6 Mon Sep 17 00:00:00 2001
From: Steven Armstrong <steven@icarus.ethz.ch>
Date: Fri, 22 Jun 2012 15:36:14 +0200
Subject: [PATCH] sync and remove require different options

Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
---
 conf/type/__package_pacman/gencode-remote | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/conf/type/__package_pacman/gencode-remote b/conf/type/__package_pacman/gencode-remote
index 9defabe8..e585ee86 100755
--- a/conf/type/__package_pacman/gencode-remote
+++ b/conf/type/__package_pacman/gencode-remote
@@ -25,8 +25,6 @@
 # exec >&2
 # set -x
 
-pacopts="--needed --noconfirm --noprogressbar"
-
 if [ -f "$__object/parameter/name" ]; then
    name="$__object/parameter/name"
 else
@@ -57,10 +55,10 @@ fi
 
 case "$state_should" in
    present)
-         echo pacman "$pacopts" -S \"$name\"
+         echo pacman --needed --noconfirm --noprogressbar -S \"$name\"
    ;;
    absent)
-         echo pacman "$pacopts" -R \"$name\"
+         echo pacman --noconfirm --noprogressbar -R \"$name\"
    ;;
    *)
       echo "Unknown state: $state_should" >&2