Open apjanke opened 4 years ago
Yep, check it out: the code in PkgManager is not checking the status code in the rslt
from doing installations:
function out = install_pkg_from_archive_url (this, url, place)
if nargin < 3; place = []; endif
place = this.resolve_installdir (place);
rslt = this.install_pkg_from_archive_url_impl (url, place);
printf ("Installed %s from %s to %s pkg dir\n", ...
char (rslt.pkgver), url, place.tag);
this.display_user_messages (rslt);
out = rslt;
endfunction
function out = install_pkg_from_file (this, file, place)
if nargin < 3; place = []; endif
place = this.resolve_installdir (place);
rslt = this.install_pkg_from_file_impl (file, place);
printf ("Installed %s from %s to %s pkg dir\n", ...
char (rslt.pkgver), file, place.tag);
this.display_user_messages (rslt);
out = rslt;
endfunction