Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

During RPM (yum) upgrade, config gets removed (1.2.0-M6) #894

Closed
kodemaniak opened this issue Oct 11, 2016 · 0 comments
Closed

During RPM (yum) upgrade, config gets removed (1.2.0-M6) #894

kodemaniak opened this issue Oct 11, 2016 · 0 comments
Labels

Comments

@kodemaniak
Copy link
Contributor

When updating a RPM with a newer version, the config files (e.g. /etc/$app/) get removed. Looking at the generated spec file, there are several rm -rf commands in the %postun scriptlet. I would expect them to reside within the preceeding if [ $1 -ge 1 ] block, where it is checked, whether an upgrade or an uninstall is performed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants