summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xpunani/bin/punani6
1 files changed, 4 insertions, 2 deletions
diff --git a/punani/bin/punani b/punani/bin/punani
index 1de743e2..a7e86d96 100755
--- a/punani/bin/punani
+++ b/punani/bin/punani
@@ -47,10 +47,12 @@ fi
## dispatch
case "$1" in
install)
- exec $PACKER_CMD $INSTALL_PARAM $RESOLVED
+ set -x
+ exec sudo $PACKER_CMD $INSTALL_PARAM $RESOLVED
;;
remove)
- exec $PACKER_CMD $REMOVE_PARAM $RESOLVED
+ set -x
+ exec sudo $PACKER_CMD $REMOVE_PARAM $RESOLVED
;;
*)
echo "usage: `basename $0` (install|remove) PACKAGE"