From: Michael Hanke <michael.hanke@gmail.com>
Date: Wed, 3 Nov 2010 21:29:22 +0000 (-0400)
Subject: BF did not run anything
X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=2607480ac59e64265c96c957957873ed85b693ea;p=neurodebian.git

BF did not run anything
---

diff --git a/debian/changelog b/debian/changelog
index a98f801..61adb78 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,5 @@
-neurodebian (0.12) squeeze; urgency=low
+neurodebian (0.13) squeeze; urgency=low
 
   * Initial release.
 
- -- Michael Hanke <michael.hanke@gmail.com>  Wed, 03 Nov 2010 17:16:49 -0400
+ -- Michael Hanke <michael.hanke@gmail.com>  Wed, 03 Nov 2010 17:29:11 -0400
diff --git a/tools/nd-autoinstall b/tools/nd-autoinstall
index 66bcdb1..85e2be8 100755
--- a/tools/nd-autoinstall
+++ b/tools/nd-autoinstall
@@ -180,7 +180,7 @@ if [ $do_install -eq 1 ]; then
 	}
 fi
 
-if [ -x $ai_command ]; then
+if which $ai_command > /dev/null 2>&1; then
 	# only run if executable
 	print_verbose "Running $ai_command"
 	$ai_command "$@"