Re: Old and new package version numbers during RPM update

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 29 June 2015 at 07:37, John R Pierce <pierce@xxxxxxxxxxxx> wrote:

> so a regex looking for "system:" vs "system {"   should nicely delineate
> these.   I dunno, I might even put that into the conversion utility and
> have it just quit if the file is already in the new format, and always run
> it.
>

​+1 for the idempotent approach. IMHO much more robust. Also consider what
will happen if someone does a 'yum downgrade' on the package or a
dependency -- you might want to allow the conversion to go both ways or at
least complain appropriately.

​K​
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux