summaryrefslogtreecommitdiffstats
path: root/punani/bin
diff options
context:
space:
mode:
authortv <tv@iiso>2011-11-20 11:33:47 +0100
committertv <tv@iiso>2011-11-20 11:33:47 +0100
commit4b8fe23246540d1a9dded43d40f01bb093dbfb06 (patch)
tree1a372a14f2c83bf24b77b96aa12648d38ac682a9 /punani/bin
parent82a089ca49712882baecad9244e2233c56b22075 (diff)
//punani: set -x and then go sudo
Diffstat (limited to 'punani/bin')
-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"