Mercurial > hg > octave-lojdl
changeset 14010:99e33d556d5c
Merge in Carnë's changes
author | Jordi Gutiérrez Hermoso <jordigh@octave.org> |
---|---|
date | Wed, 07 Dec 2011 19:06:13 -0500 |
parents | a73e110857e4 (current diff) c71a4c53e70a (diff) |
children | 431c6b00653d |
files | scripts/pkg/pkg.m |
diffstat | 1 files changed, 9 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/pkg/pkg.m +++ b/scripts/pkg/pkg.m @@ -946,6 +946,15 @@ load_packages_and_dependencies (idx, handle_deps, installed_pkgs_lst, global_install); endif + + ## If there's a NEWS file, mention it + ## we are checking if desc exists too because it's possible to ge to this point + ## without creating it such as giving an invalid filename for the package + if (exist ("desc", "var") && exist (fullfile (desc.dir, "packinfo", "NEWS"), "file")) + printf ("For information about changes from previous versions of the %s package, run 'news (\"%s\")'.\n", + desc.name, desc.name); + endif + endfunction function uninstall (pkgnames, handle_deps, verbose, local_list,