how to prevent overwrite particular config file when using rpm --replacefile option
Helo I have already installed manbase - 4.0.0.0.15
Now I m installing newver version of the same rpm using rpm -iv -replacefiles manbase -4.0.0.0.16 But using this option my important config files is overwrite. now I want that using first check whethere config file is there or not. if file is not there then allow then to install if file is there then dont allow it to overwrite so rpm provide particular option to handle this. Regards, Amit |
I would just make a copy of the original configuration file. Once the software is installed you can put the original file(s) back from your copy of them.
|
Apart the good advice by stress_junkie, you can try the --excludepath option:
Quote:
|
All times are GMT -5. The time now is 07:47 PM. |