summaryrefslogtreecommitdiffstats
path: root/source/d/automake/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'source/d/automake/doinst.sh')
-rw-r--r--source/d/automake/doinst.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/d/automake/doinst.sh b/source/d/automake/doinst.sh
index e50590c1c..f21e4bdf9 100644
--- a/source/d/automake/doinst.sh
+++ b/source/d/automake/doinst.sh
@@ -2,7 +2,7 @@
# "automake" item in info root structure, if we type "info".
if [ -x /usr/bin/install-info ] ; then
install-info --info-dir=/usr/info /usr/info/automake.info.gz 2>/dev/null
-elif fgrep "automake" usr/info/dir 1> /dev/null 2> /dev/null ; then
+elif grep -F "automake" usr/info/dir 1> /dev/null 2> /dev/null ; then
GOOD=yes # It seems to be entered in the /usr/info/dir already
else # add the info to the dir file directly:
cat << EOF >> usr/info/dir