diff --git a/cluster/apt.apply.update.sh b/cluster/apt.apply.update.sh index 5484a40..aeaaaff 100755 --- a/cluster/apt.apply.update.sh +++ b/cluster/apt.apply.update.sh @@ -46,11 +46,11 @@ usage() { # {{{ cat <<- EOF usage: $PROGNAME -Apply any APT package upgrade if the host is free : +Apply any APT package upgrade if the host is free: * SGE queue is disable * No SGE jobs are running -EXAMPLES : +EXAMPLES: - Apply upgrade on the current host ${PROGNAME} EOF @@ -62,7 +62,7 @@ debug_message() { # {{{ local_message="${1}" ## Print message if DEBUG is enable (=0) - [ "${DEBUG}" -eq "0" ] && printf '\e[1;35m%-6b\e[m\n' "DEBUG − ${PROGNAME} : ${local_message}" + [ "${DEBUG}" -eq "0" ] && printf '\e[1;35m%-6b\e[m\n' "DEBUG − ${PROGNAME}: ${local_message}" } # }}} @@ -154,7 +154,7 @@ esac ## Simple debug message to valid current variables debug_message "is_job_running − \ -jobs running on ${local_sge_hostname} host : ${RED}${local_sge_slots_used}${COLOR_DEBUG}." +jobs running on ${local_sge_hostname} host: ${RED}${local_sge_slots_used}${COLOR_DEBUG}." return "${return_job_running}" @@ -177,7 +177,7 @@ esac ## Simple debug message to valid current variables debug_message "is_proc_running − \ -${local_count_proc_pattern} procs seems running according to the pattern: ${RED}${local_proc_pattern}${COLOR_DEBUG}." +procs running (with the pattern: ${RED}${local_proc_pattern}${COLOR_DEBUG}) on the current host: ${RED}${local_count_proc_pattern}${COLOR_DEBUG}." return "${return_proc_running}"