[Rpm-maint] Removing repackage and (auto)rollback?

James Olin Oden james.oden at gmail.com
Wed Mar 5 20:14:55 UTC 2008


<snip>
>  pre trans:
>   for pkg in transaction:
>      if the pkg is an update,
>         grab up the current config files and check them into an scm
>      do the transaction
>  post trans:
>   for pkg in transaction:
>     check the new versions (if any) into the scm
>
You really don't have to do the pre-transaction stuff, but once in the
lifetime of a system, or the step:

         grab up the current config files and check them into an scm

could be better expressed:

        find config files that have never been checked into the scm
and check them in.

...james



More information about the Rpm-maint mailing list