The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
overwrite specific lines in a file csecnarf Shell Programming and Scripting 7 05-13-2008 08:01 AM
How to prevent an application from closing a file jasahl AIX 4 01-06-2008 05:39 PM
Overwrite & Delete in Text File 33junaid Shell Programming and Scripting 11 08-16-2007 02:28 AM
Prevent file from being mailed multiple times from a job Sree_2503 Shell Programming and Scripting 2 11-14-2006 08:47 AM
prevent file size is too large ust UNIX for Dummies Questions & Answers 2 03-10-2005 10:04 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-17-2008
Registered User
 

Join Date: Jul 2007
Posts: 72
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
Reply With Quote
Google The UNIX and Linux Forums
Forum Sponsor
Reply

« So_debug | awk help »
Thread Tools
Display Modes




All times are GMT -7. The time now is 06:57 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0