From 9c72484a62cf49bfe9325efbcd0825c0da78bc4f Mon Sep 17 00:00:00 2001 From: phoebos Date: Tue, 18 Oct 2022 16:30:26 +0200 Subject: [PATCH] kiss: add back repo update message support (#99) A file called "MOTD" in each repo in KISS_PATH will be printed during `kiss u`. As discussed in kiss-community/community#1295. Reviewed-on: https://codeberg.org/kiss-community/kiss/pulls/99 --- kiss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/kiss b/kiss index a17f0d6..3c668f9 100755 --- a/kiss +++ b/kiss @@ -1751,6 +1751,11 @@ pkg_update_repo() { # arg1: post-update # env: PWD is path to repository run_hook post-update + + [ ! -r MOTD ] || { + log "$PWD" "Printing MOTD" + cat MOTD + } } }