On Tuesday 06 March 2007 18:01:03 Peter Jones wrote:
> On Tue, 2007-03-06 at 16:31 +0000, Richard Hughes wrote:
> > > /usr/sbin/pm-suspend       # symlink to pm-action above
> > > /usr/sbin/pm-hibernate     # symlink to pm-action above
> >
> > Can't we just get rid of the symlink and install two files rather
> > than one with special casing that changes the execution depending
> > on the symlink name?
>
> I'd really rather maintain one 114 line script that has a special
> case that winds up being 5 lines for each (of two) choices than two
> 100 line scripts that have 95 lines the same.

Couldn't agree more. Please keep it this way.

Have fun,
Frank

Attachment: pgpiQpJUYLfY2.pgp
Description: PGP signature

_______________________________________________
Pm-utils mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/pm-utils

Reply via email to