diff options
-rw-r--r-- | src/cpt-lib.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cpt-lib.in b/src/cpt-lib.in index d17954b..3858d82 100644 --- a/src/cpt-lib.in +++ b/src/cpt-lib.in @@ -1852,6 +1852,10 @@ pkg_fetch() { cd "$repo_root" "pkg_vcs_pull_$repo_type" + + # Repositories can contain a "Message of the Day" file in order to + # relay important information to their users. + ! [ -r "$repo_root/motd" ] || cat "$repo_root/motd" } done |