changing the install location of hal-system-power-pmu to libexec
Sjoerd Simons
sjoerd at luon.net
Fri Feb 17 14:05:29 PST 2006
On Thu, Feb 16, 2006 at 11:40:52PM +0000, Richard Hughes wrote:
> Okay, installing hal-system-power-pmu to bin isn't the best of ideas, as
> it's only designed to be run by HAL. Nor is it a good idea to install
> to /usr/share/hal/scripts, as it's quite clearly not a script.
>
> In CVS, the hal-power-brightness-* scripts assume it's in the latter, so
> don't work for pmu at the moment. [1]
>
> David wanted it to go into libexec, for which I've attached a patch, but
> It's real messy with the hardcoded /usr/libexec/ bit in each file. The
> only way I see around that is to convert each script into a script.in
> file that gets 'compiled' with the correct path.
The libexec dir should be part of the PATH of every program the runner calls.
So no need to hardcode it, just call hal-system-power-pmu :)
Sjoerd
--
"Picture the sun as the origin of two intersecting 6-dimensional
hyperplanes from which we can deduce a certain transformational
sequence which gives us the terminal velocity of a rubber duck ..."
More information about the hal
mailing list