summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2012-08-26 16:26:18 +0200
committerSlávek Banko <slavek.banko@axis.cz>2012-08-26 16:41:36 +0200
commitd6a3e0c63feefeda7d0e0a92c18fa64deb47e600 (patch)
tree24c1dc2b51458790d7469dace136e1211a142696
parentdc64055f717dc440870215eea4e1b587db3b27b2 (diff)
downloadtdebase-d6a3e0c63feefeda7d0e0a92c18fa64deb47e600.tar.gz
tdebase-d6a3e0c63feefeda7d0e0a92c18fa64deb47e600.zip
Update starttde: Fix compatibility with older manpath
(cherry picked from commit 55c88e3706712bd26f081fdfc164382238506652)
-rw-r--r--startkde2
1 files changed, 1 insertions, 1 deletions
diff --git a/startkde b/startkde
index 650d60441..53f321711 100644
--- a/startkde
+++ b/startkde
@@ -180,7 +180,7 @@ if [ -d $KDEDIR/bin ]; then
fi
if [ -d $KDEDIR/share/man ]; then
if [ -x /usr/bin/manpath ]; then
- if [ "`manpath -q | grep \"$KDEDIR/share/man\"`" = "" ]; then
+ if [ "`manpath 2>/dev/null | grep \"$KDEDIR/share/man\"`" = "" ]; then
export MANPATH=$KDEDIR/share/man:$MANPATH
fi
else