On Fri, Nov 21, 2003 at 01:08:09PM -0500, Nielsen, Steve alleged: > I am using rsync now but when I want to merge the updates I get from rsync into my distro area (for kickstart installs) that is where it becomes a problem. Basically that is what I am asking is what tools do people use to merge updated RPMs into the distribution area. > > So the basic steps would be: > rsync down the updates > merge udpates into distro <--- here for oldrpm in oldrpms/*.rpm;do oldid=`rpm -qp --qf '%{NAME}-%{ARCH}' $oldrpm for newrpm in newrpms/*.rpm;do newid=`rpm -qp --qf '%{NAME}-%{ARCH}' $newrpm if [ "$newid" = "$oldid" ];then echo "Removing old $oldrpm" rm $oldrpm fi done echo "Copying new $newrpm" cp $newrpm oldrpms/ done -- Garrick Staples, Linux/HPCC Administrator University of Southern California -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://lists.dulug.duke.edu/pipermail/yum/attachments/20031121/3a8f4502/attachment.bin