octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #47491] pkg: no method to query directories wh


From: Carnë Draug
Subject: [Octave-bug-tracker] [bug #47491] pkg: no method to query directories where package is installed
Date: Tue, 22 Mar 2016 04:10:52 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0 Iceweasel/38.7.1

URL:
  <http://savannah.gnu.org/bugs/?47491>

                 Summary: pkg: no method to query directories where package is
installed
                 Project: GNU Octave
            Submitted by: carandraug
            Submitted on: Tue 22 Mar 2016 04:10:51 GMT
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any

    _______________________________________________________

Details:

An installed package has two directories, an arch independent directory with
all the m files, and an arch dependent with all the oct files (this is a bit
of a farce since the the later is nested on the first).

To find the location of the arch independent directory, one can search through
"pkg list".  However, there is is no way to find the other directory.  The
most typical solution is to use octave_config_info to deduce that directory. 
However, this only works because the directories are nested and requires
knowledge of the internals of pkg.

Path for both directories could be returned by pkg describe (pkg list is a bit
of a pain because it always returns the info for all packages in a cell array
of scalar structs).




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?47491>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]