comparison scripts/pkg/private/install.m @ 17715:8dd280b64de1

Display usage of news as command after installing a package (patch #7708)
author Carnë Draug <carandraug@octave.org>
date Mon, 21 Oct 2013 22:57:34 +0100
parents 1c89599167a6
children d63878346099
comparison
equal deleted inserted replaced
17714:e243a3a19831 17715:8dd280b64de1
334 334
335 ## If there's a NEWS file, mention it 335 ## If there's a NEWS file, mention it
336 ## we are checking if desc exists too because it's possible to ge to this point 336 ## we are checking if desc exists too because it's possible to ge to this point
337 ## without creating it such as giving an invalid filename for the package 337 ## without creating it such as giving an invalid filename for the package
338 if (exist ("desc", "var") && exist (fullfile (desc.dir, "packinfo", "NEWS"), "file")) 338 if (exist ("desc", "var") && exist (fullfile (desc.dir, "packinfo", "NEWS"), "file"))
339 printf ("For information about changes from previous versions of the %s package, run 'news (\"%s\")'.\n", 339 printf ("For information about changes from previous versions of the %s package, run 'news %s'.\n",
340 desc.name, desc.name); 340 desc.name, desc.name);
341 endif 341 endif
342 342
343 endfunction 343 endfunction
344 344