On Wed, Mar 28, 2012 at 10:26 PM, c. <carlo.defa...@gmail.com> wrote:
>
> On 28 Mar 2012, at 22:00, Philip Nienhuis wrote:
>
>>> I might be confused by the name but I think archprefix was intended to 
>>> point to the directory with the architecture dependent files rather than 
>>> just the package subdir ...
>>> that is handled by the files
>>>
>>> scripts/pkg/private/getarchdir.m
>>> scripts/pkg/private/getarch.m
>>> scripts/pkg/private/getarchprefix.m
>>
>> Are these accessible for ordinary users/scripts as they reside in ./private 
>> folder?
>
> No, they are not. If you really think they are needed elsewhere we can move 
> them.
>
> But if possible I'd try to work using pkg as the common interface rather than 
> adding
> separate functions.
>
>
>> BTW I haven't got them in my ./3.6.1/m/pkg folder. Are they newer than 3.6.1?
>
> They where still subfunctions of pkg.m at the time of the 3.6.1 release.
>
> pkg.m had a lot of subfunctions, they have been moved out to the /private 
> folder
> whith this changeset:
>
> http://hg.savannah.gnu.org/hgweb/octave/rev/cfb0173fe1ca?revcount=120
>
> as discussed in this thread:
>
> http://octave.1599824.n4.nabble.com/Re-cleaning-up-pkg-m-tp4472636p4472636.html
>
> Work on pkg.m is going on in the "default" branch so I think it will only be 
> released
> with 3.8.
>
> c.
>
>
>
>
>
> ------------------------------------------------------------------------------
> This SF email is sponsosred by:
> Try Windows Azure free for 90 days Click Here
> http://p.sf.net/sfu/sfd2d-msazure
> _______________________________________________
> Octave-dev mailing list
> Octave-dev@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/octave-dev

Hi,
I have been trying all the solutions provided, non of them seem to
work inside a PKG_ADD or PKG_DEL script. Mostly because the
information about the package at this point (i.e. first installation
of the package) seems not to be available to the unction pkg

I am mixing all solutions in a bug if statement trying to detect
whether it is first time install or not.

Let me know if anybody found a solution already.


-- 
M. Sc. Juan Pablo Carbajal
-----
PhD Student
University of Zürich
http://ailab.ifi.uzh.ch/carbajal/

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to