[CentOS] yum/RPM behaviour: does yum/RPM overwrite a file modified by a user during an update ?
giggzounet
giggzounet at gmail.comMon Nov 29 13:30:36 UTC 2010
- Previous message: [CentOS] yum/RPM behaviour: does yum/RPM overwrite a file modified by a user during an update ?
- Next message: [CentOS] yum/RPM behaviour: does yum/RPM overwrite a file modified by a user during an update ?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Le 29/11/2010 14:08, Jim Perrin a écrit : > On Mon, Nov 29, 2010 at 7:52 AM, giggzounet <giggzounet at gmail.com> wrote: > >> %config(noreplace) %{_sysconfdir}/ofed/openib.conf > > This is what a config file looks like in a spec file. See how it has > %config at the beginning of the line, with the option of noreplace. > This file is a config and will not be replaced as far as rpm is concerned. > >> %{_sysconfdir}/sysconfig/network-scripts/ifup-ib > > This file has no such markings, and is not considered a config file by > rpm. it will be replaced on update. > > > great! thx for the help. Bye bye
- Previous message: [CentOS] yum/RPM behaviour: does yum/RPM overwrite a file modified by a user during an update ?
- Next message: [CentOS] yum/RPM behaviour: does yum/RPM overwrite a file modified by a user during an update ?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list