[Pm-utils] pm-utils logfile checks

Victor Lowther victor.lowther at gmail.com
Sun Apr 27 14:43:18 PDT 2008


On Mon, 2008-04-14 at 21:58 +0200, Till Maas wrote:
> Hiyas,
> 
> I just noticed, that pm-utils only uses a logfile when it already exists, imho 
> then pm-utils should also install an empty logfile (if there is none) when 
> running make install. (Or it should just create one). What are your opinions 
> here?

You are correct.  I have fixed the code to include an explicit check for
file existence instead of relying on -O to do the job for us. 

> Btw. I updated the HOWTO.hooks in git to mention "${PM_FUNCTIONS}" instead of 
> the hardcoded path, because on 64 bit system pm-utils is installed 
> in /usr/lib64 instead of /usr/lib.

Cool, thanks.

> Regards,
> Till
> _______________________________________________
> Pm-utils mailing list
> Pm-utils at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/pm-utils
-- 
Victor Lowther
Ubuntu Certified Professional



More information about the Pm-utils mailing list