[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: In what stage of OF package loading/unloading are PKG_ADD/PKG_DEL ca
From: |
Carnë Draug |
Subject: |
Re: In what stage of OF package loading/unloading are PKG_ADD/PKG_DEL called? |
Date: |
Wed, 8 Jan 2014 16:48:14 +0000 |
On 8 January 2014 16:33, PhilipNienhuis <address@hidden> wrote:
> What I'm after is a way to have the io script dir (in
> share/octave/packages/io) already/still in Octave's search path while
> PKG_ADD and PKG_DEL are called, resp.
> How can that be achieved (reliably)?
PKG_ADD and PKG_DEL are not related to pkg. When adding and removing
directories to the search path, Octave looks for a PKG_ADD or PKG_DEL
script and executes them. When you load a package, pkg simply adds the
directories to the paths, it doesn't do anything itself.
The only thing that pkg does is moving PKG_ADD and PKG_DEL files into
those directories during the installation of a package.
Carnë