[Pm-utils] [patch commit] Hook and install location independence, the less ugly version

Victor Lowther victor.lowther at gmail.com
Sun Feb 3 15:21:37 PST 2008

On Sat, 2008-02-02 at 13:21 -0600, Victor Lowther wrote:
> This patchset just adds simple location independence.  It can also be
> pulled from git://fnordovax.org/pm-utils/ (branch named
> vlowther-simple-location-independence)
> It uses automake to transform src/pm-action.in, src/pm-powersave.in,
> and pm/functions.in into src/pm-action, src/pm-powersave, and
> pm/functions respectivly.  See the appropriate Makefile.am files for
> the details.
> Location independence of the hooks is achieved by having pm-action and
> pm-powersave export PM_FUNCTIONS, which points to the installed
> location of pm/functions.
> The hooks have been modified to source functions from that environment variable.
> Comments?

Hmmm... compared to the changes I introduced in the other threads, this
must be a very non-controversial patch.  If no-one objects to this patch
series, I will push it upstream on Wednesday, 06 Feb 2008.

Victor Lowther
Ubuntu Certified Professional

More information about the Pm-utils mailing list