diff options
author | tv <tv@iiso> | 2011-09-27 00:12:49 +0200 |
---|---|---|
committer | tv <tv@iiso> | 2011-09-27 00:12:49 +0200 |
commit | ecc173f3f472efcabf12693e17866930768af82b (patch) | |
tree | 59a1098d3f147d7fa09c84807e415535dcf6679e /punani | |
parent | f541b6139ca8ecbc64c736179604280e3006bede (diff) | |
parent | 592331580802ace9e96f3e4369bc9019f8e484b9 (diff) |
Merge branch 'master' of github.com:krebscode/painload
Diffstat (limited to 'punani')
-rwxr-xr-x | punani/bin/punani | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/punani/bin/punani b/punani/bin/punani index 34d5bcbf..954eca43 100755 --- a/punani/bin/punani +++ b/punani/bin/punani @@ -115,7 +115,7 @@ handle_system () { # apt-file () { echo $@; } # apt-get () { echo $@; } #fi - if [ `which apt-file` ]; then + if ! which apt-file; then echo "installing dependencies: apt-file" apt-get install --yes apt-file echo "update the apt-file tool" @@ -133,6 +133,7 @@ handle_system () { fi } punani_Engineer_insert() { + echo "trying to install $1" if apt-get install `apt-file search -l -x /$1\$`;then echo "++ finished" else |