diff options
author | tv <tv@iiso> | 2011-11-20 11:33:47 +0100 |
---|---|---|
committer | tv <tv@iiso> | 2011-11-20 11:33:47 +0100 |
commit | 4b8fe23246540d1a9dded43d40f01bb093dbfb06 (patch) | |
tree | 1a372a14f2c83bf24b77b96aa12648d38ac682a9 /punani/bin | |
parent | 82a089ca49712882baecad9244e2233c56b22075 (diff) |
//punani: set -x and then go sudo
Diffstat (limited to 'punani/bin')
-rwxr-xr-x | punani/bin/punani | 6 |
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" |