[opensuse-packaging] keep .conf files at uninstall
Hello, is there a way to keep config files unchanged as xxx.conf even when uninstalled with rpm -e ? %config directive in %files section protects my config when updating with newer packages but there seems to be no fitting directive which does the protection at uninstalling. How can this be solved? Thanks, Andre -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Am Donnerstag 11 Februar 2010 schrieb Andre Hübner:
Hello,
is there a way to keep config files unchanged as xxx.conf even when uninstalled with rpm -e ? %config directive in %files section protects my config when updating with newer packages but there seems to be no fitting directive which does the protection at uninstalling.
How can this be solved?
What is the use case? I can't imaging wanting the config files if I remove a package. Greetings, Stephan -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Hallo,
What is the use case? I can't imaging wanting the config files if I remove a package.
if conf file was changed i want to restart the service with former conf without moving .rpmsave to former name. (some people here forget to do this and wonder why special settings are lost...) i could do this by scriplets but dont feel good by doing this, but seems rpm dont knows a better way. we have some ubuntu-servers and dpkg knows options --remove (keep confs unchanged/unrenamed in paths) or --purge (delete all) Thanks, Andre -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
participants (2)
-
Andre Hübner
-
Stephan Kulow