Re: Relocating a pear installation
| From: | Markus Fischer | Date: | Fri, 08 Sep 2006 15:24:16 +0000 |
| Subject: | Re: Relocating a pear installation | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-43921@lists.php.net to get a copy of this message | ||
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Justin Patrin wrote:
>> Hmm .. really? I mean, when I relocate my pear installation (=
>> physically moving files around) my data dir goes with it, so this should
>> , and in my case, does work. Or did I understood you wrongly?
>>
>
> The problem is that the PEAR installer supports replacements at
> install time and one of these replacements is the data dir. When
> installed the scripts get an absolute path to the data dir. If the
> package isn't smart enough to have a fallback it will fail to find its
> data.
Thanks for clarification. So unless package rely on paths during runtime
from pear configuration files there's no way/sense to automate relocation.
- - Markus
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFFAYsg1nS0RcInK9ARAosqAJ4z45Eib/jzU+I9QtIvt1lVvCf0LwCgqhh7
yGzamQ7OjJxFLFk/W94uRi8=
=2csH
-----END PGP SIGNATURE-----