From 375adc63159bcb76446485611ee1d6a28eba76ab Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: Oct 13 2012 17:05:03 +0000 Subject: Update `Functions/Help/Texinfo/texinfo_deleteEntryChapter.sh' file. --- diff --git a/Scripts/Bash/Functions/Help/Texinfo/texinfo_deleteEntryChapter.sh b/Scripts/Bash/Functions/Help/Texinfo/texinfo_deleteEntryChapter.sh index 6fe32f1..ad36f73 100755 --- a/Scripts/Bash/Functions/Help/Texinfo/texinfo_deleteEntryChapter.sh +++ b/Scripts/Bash/Functions/Help/Texinfo/texinfo_deleteEntryChapter.sh @@ -28,9 +28,9 @@ function texinfo_deleteEntryChapter { # Print action message. cli_printMessage "$MANUAL_CHAPTER_DIR" --as-deleting-line - # Verify existence of documentation entry before deleting it. We - # cannot delete an entry which doesn't exist. - cli_checkFiles -e "$MANUAL_CHAPTER_DIR" + # Verify existence of documentation entry before deleting it. + # We cannot delete an entry which doesn't exist. + cli_checkFiles "$MANUAL_CHAPTER_DIR" -d # Define list of chapters that shouldn't be removed. local SPECIAL_CHAPTERS='/(Licenses|Index)$' @@ -51,7 +51,7 @@ function texinfo_deleteEntryChapter { # Remove chapter directory using subversion to register the # change. - ${CLI_NAME} svn --delete ${MANUAL_CHAPTER_DIR} + cli_runFnEnvironment svn --quiet --delete ${MANUAL_CHAPTER_DIR} # Update chapter menu and nodes inside manual structure. texinfo_updateChapterMenu --delete-entry