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}