texinfo/texinfo-6.5-fix-info-dir.patch

14 lines
483 B
Diff
Raw Normal View History

2018-06-20 00:04:39 +00:00
diff --git a/contrib/fix-info-dir b/contrib/fix-info-dir
index 4439ada..c054787 100755
--- a/contrib/fix-info-dir
+++ b/contrib/fix-info-dir
@@ -294,7 +294,7 @@ else
DONE_MSG="total invalid menu item(s) were removed from `pwd`/$DIR_FILE"
for Info_Name in `comm -23 $TMP_FILE1 $TMP_FILE2`; do
Changed="y"
- if install-info --remove $Info_Name $DIR_FILE; then
+ if install-info --remove --remove-exactly $Info_Name $DIR_FILE; then
Total=`expr "$Total" + "1"`
fi
done