how to prevent overwrite particular config file when using rpm --replacefile option
Helo I have already installed manbase - 220.127.116.11.15
Now I m installing newver version of the same rpm using
rpm -iv -replacefiles manbase -18.104.22.168.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.
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:
|All times are GMT -5. The time now is 01:45 PM.|