[Pm-utils] symlinks not relative
Dan Nicholson
dbn.lists at gmail.com
Wed Apr 30 15:22:50 PDT 2008
On Wed, Apr 30, 2008 at 3:00 PM, Till Maas <opensource at till.name> 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
More information about the Pm-utils
mailing list