On Wed, Nov 05, 2003, Anshuman Kanwar wrote:
> Another unrelated question I had was about the -U flag in rpm/openpkg.
>
> Suppose I have 2 files deliverable in package
>
> a-1.0.rpm
> 1.data (checksum xyxy)
> 2.data (checksum xxxz)
>
> Now I release the next release of 'a' i.e a-1.1.rpm with 3 files
>
> a-1.1.rpm
> 1.data (checksum xyxy)
> 2.data (checksum xxxz)
> 3.data (checksum xrws)
>
> Notice that the checksums for 1.data and 2.data are the same.
>
> If I upgrade from package a-1.0 to a-1.1 ... will 1.data and 2.data be
> deleted and over written or will they be left untouched ?
If those files are not flagged as %config files in the RPM, they are
deleted and overwritten from scratch by RPM AFAIK. If they are flagged
as %config, they are treated differently and are kept as is.
Ralf S. Engelschall
[EMAIL PROTECTED]
www.engelschall.com
______________________________________________________________________
The OpenPKG Project www.openpkg.org
User Communication List [EMAIL PROTECTED]