| #!/bin/bash |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| function help_updateOutputFileInfo { |
| |
| |
| cli_printMessage "`gettext "Updating manual's info output"`" 'AsResponseLine' |
| |
| # Check info output directory. |
| [[ ! -d ${MANUALS_DIR[3]} ]] && mkdir -p ${MANUALS_DIR[3]} |
| |
| # Update info file. |
| /usr/bin/makeinfo ${MANUALS_FILE[1]} --output=${MANUALS_FILE[4]} |
| |
| # Check info file. If the info file was not created then there are |
| # errors to fix. |
| if [[ ! -f ${MANUALS_FILE[4]} ]];then |
| cli_printMessage "$(caller)" "AsToKnowMoreLine" |
| fi |
| |
| # Compress info file. |
| bzip2 -f ${MANUALS_FILE[4]} |
| |
| } |
| |