From eb9d73e219325ae09b756144d56686118011fb64 Mon Sep 17 00:00:00 2001 From: merakor Date: Sat, 17 Jul 2021 22:49:29 +0000 Subject: pkg_repository_update: read "MOTD" instead of "motd" FossilOrigin-Name: 65495408d5b97bdbac9317a940991dddec78d737abef168d366b1245e495c33b --- src/cpt-lib.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/cpt-lib.in b/src/cpt-lib.in index 1e4062a..4675d19 100644 --- a/src/cpt-lib.in +++ b/src/cpt-lib.in @@ -1641,12 +1641,12 @@ pkg_repository_update() { # Repositories can contain a "Message of the Day" file in order to # relay important information to their users. - ! [ -r "$repo_root/motd" ] || { + ! [ -r "$repo_root/MOTD" ] || { printf '%s\n%s\n%s\n\n' \ "$(_multiply_char '=' 60)" \ "Message of the Day [$PWD]" \ "$(_multiply_char '=' 60)" - cat "$repo_root/motd" + cat "$repo_root/MOTD" printf '\n%s\n' "$(_multiply_char '=' 60)" } } -- cgit v1.2.3