From 2338c4f9448ea256f477134326a99280746cdc8e Mon Sep 17 00:00:00 2001 From: George Vlahavas Date: Mon, 19 Aug 2013 19:06:18 +0300 Subject: [PATCH] Fix detection of txt2tags in installation script --- install.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index e888b6b..16aea17 100755 --- a/install.sh +++ b/install.sh @@ -2,7 +2,9 @@ cd $(dirname $0) -if [ -x $( which txt2tags ) ]; then +which txt2tags &> /dev/null +retval=$? +if [ $retval -eq 0 ]; then cd man txt2tags xdgmenumaker.t2t cd ..