cook question: how to cook an recipe if, and only if, the target does not already exist

Aryeh Friedman <[email protected]>
Newsgroups gmane.comp.version-control.aegis.user
Message-ID <CAGBxaXknK0b07YM2wqgpW_S5H4zb23BO4Nw0H5=E3Ckw02k3pg@mail.gmail.com>
I have a file /usr/local/etc/petitecloud/settings that must not be
overwritten if it does exists but create with default values if it does...
namely I want it cooked once and only once for the entire project's history
(new change se's do not recook it)... the best I can think of is something
like:

/usr/local/etc/petitecloud/settings:
{
    if [not [exists [target]]] {
        main recipe body
   }
}

also if anyone is interested in virtualization take a look at
petitecloud.org (Walter or who ever can you add it to the user's of aegis
list under my name)

_______________________________________________
Aegis-users mailing list
[email protected]
http://lists.auug.org.au/listinfo/aegis-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.