RPM: how to skip user created files during RPM upgrade
I am trying to create an RPM package. However when the RPM package installs, it need to skip some files that might have been created by the user after the last installation and use of the program. Is there a way to build RPM package that just skips the user created content in the installation dir.
lets say my RPM package creates the following dir and creates files required by my application, say .app files.
However the user may also create a few .xml files in the same dir. How will I package my program that will not delete the .xml files from the above dir and will just create the application files (.app files).
I will appreciate any help.
Hello and wellcome to LQ,
I do not understand the question. On my systems the user-related files are in their home-directory and have nothing to do with an update. How can a user create files in a programm-directory without root-permissions?
Thanks a lot. You already answered my question. Now, I am directing all the user-related files of my application to the home directory.
|All times are GMT -5. The time now is 01:33 PM.|