|
From: | Nicholas Jankowski |
Subject: | [Octave-bug-tracker] [bug #51632] MS Windows portable (i.e. zip) version cannot find pre-installed packages, needs pkg rebuild, not mentioned at first run |
Date: | Tue, 1 Aug 2017 16:31:21 -0400 (EDT) |
User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0 |
Follow-up Comment #15, bug #51632 (project octave): a couple options that would work: if (isempty(file_in_path(fullfile(OCTAVE_HOME(), "share", "octave", "packages"), "octave_packages"))) pkg rebuild; endif if (exist(pkg("global_list"),"file") == 0) pkg rebuild; endif I'm sure there are some others. the latter would cover it if that file designation ever changes. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?51632> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |