From 71101bf8ab38ac9c5ed64cf157dd5aa2123326c6 Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: May 30 2011 01:39:52 +0000 Subject: Update Backends/Texinfo/texinfo_updateChaptersMenu.sh. --- diff --git a/Scripts/Functions/Help/Backends/Texinfo/texinfo_updateChaptersMenu.sh b/Scripts/Functions/Help/Backends/Texinfo/texinfo_updateChaptersMenu.sh index 625c4f6..293d9a6 100755 --- a/Scripts/Functions/Help/Backends/Texinfo/texinfo_updateChaptersMenu.sh +++ b/Scripts/Functions/Help/Backends/Texinfo/texinfo_updateChaptersMenu.sh @@ -39,11 +39,13 @@ function texinfo_updateChaptersMenu { # Re-defined menu of chapters based on action. case $ACTION in + 'remove-entry' ) # Remove chapter from menu. MENUCHAPTERS=$(echo "${MENUCHAPTERS}" \ | egrep -v "^\* ${MANUAL_CHAPTER_NAME}::[[:print:]]*$") ;; + 'update-entry' | * ) # Update chapter menu using texinfo format. MENUCHAPTERS="${MENUCHAPTERS}