From 8a6ccf00689502d05aac0661c3ec7bd424d35c9c Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 16 Nov 2021 06:18:53 +0100 Subject: Updating notifications in container update command. Signed-off-by: Daniel Baumann --- libexec/container/update | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libexec/container/update b/libexec/container/update index 6d8ac20..7eed2c3 100755 --- a/libexec/container/update +++ b/libexec/container/update @@ -152,7 +152,7 @@ do HOST="$(hostname -f 2> /dev/null || hostname)" # logfile - echo "${DATE} ${HOST} ${CONTAINER_USER} ${NAME} ${UPDATES} upgraded: ${PACKAGES}" >> "/var/log/${SOFTWARE}/${PROGRAM}.log" + echo "${DATE} ${HOST} ${CONTAINER_USER} ${NAME} ${UPDATES} update(s): ${PACKAGES}" >> "/var/log/${SOFTWARE}/${PROGRAM}.log" # irc if [ -e /usr/bin/irk ] @@ -169,7 +169,7 @@ do then for TARGET in ${IRK_TARGETS} do - irk "${TARGET}" "\x0300${CONTAINER_USER}\x03@\x0312${HOST}:\x03 \x0303${NAME}\x03 \x0307${UPDATES} upgraded\x03: ${PACKAGES}" + irk "${TARGET}" "\x0300${CONTAINER_USER}\x03@\x0312${HOST}:\x03 \x0303${NAME}\x03 \x0307${UPDATES} update(s)\x03: ${PACKAGES}" done fi fi -- cgit v1.2.3