On Wed, Apr 30, 2008 at 3:00 PM, Till Maas <[EMAIL PROTECTED]> wrote:
>
> currently the symlinks that are created in pm-utils (pm-suspend ->
> pm-action, ...) are not relative,. Is it easily possible to change these to
> be relative symlinks? This would have the advantage, that they would also
> work, when the root file system is mounted somewhere else than /.
I don't know if it's appropriate to add a perl build dependency to
pm-utils, but I recently stumbled upon this in doing some RPM
packaging:
$ perl -e 'use File::Spec; print
File::Spec->abs2rel("/usr/lib/pm-utils/bin","/usr/sbin"),"\n"'
../lib/pm-utils/bin
--
Dan
_______________________________________________
Pm-utils mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/pm-utils