From 14636218a1ca18cf66c507d39c6784a6b28f7528 Mon Sep 17 00:00:00 2001 From: krebs Date: Sat, 24 Sep 2011 20:33:21 -0400 Subject: punani: bugfix --- punani/bin/punani | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'punani') 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 -- cgit v1.2.3