diff options
-rw-r--r-- | src/cpt-lib.in | 4 |
1 files changed, 2 insertions, 2 deletions
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)" } } |