[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: editfiles: DefineClasses can't be used in multiple BeginGroupIfNoSuc
From: |
Hugo Gayosso |
Subject: |
Re: editfiles: DefineClasses can't be used in multiple BeginGroupIfNoSuchLine |
Date: |
26 Jun 2002 09:44:15 -0400 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Mark.Burgess@iu.hio.no writes:
> This is not currently possible.
> Mark
I guess you mean this:
> > I want to define the class ONLY if the file is edited. But which
> > class I want do define depends on which modification is done
But what about this:
> > , this, I think, could be implemented with using multiple
> > 'editfiles' instead of using 'BeginGroup....',
In other words:
editfiles:
Mymachine::
{ /etc/swinstall_serial_number
AutoCreate
AppendIfNoSuchLine "1"
DefineClasses "swinstall_1"
}
{ /etc/swinstall_serial_number
AutoCreate
AppendIfNoSuchLine "2"
DefineClasses "swinstall_2"
}
Greetings,
- --
Hugo Gayosso
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE9GcUvx2JZtTN6co8RAvNnAKCAzd0VMiFfuGt4aguVJ+29MQFxaACeNKdy
OTfqL92u/rVqtPFMbEb6Bzc=
=cPAL
-----END PGP SIGNATURE-----
- Re: editfiles: DefineClasses can't be used in multiple BeginGroupIfNoSuchLine,
Hugo Gayosso <=