-
Notifications
You must be signed in to change notification settings - Fork 443
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
RPMs cannot be uninstalled #435
Comments
These functions are defined via the Your rpm scriplets should contain these functions this means
While checking this, I see that it's option 1. The postun-template doesn't insert the control-functions. |
thanks @muuki88, I gave it a quick try but running into some problems
my build file was created against sbt-native-packager 0.8.0-RC2, is this branch based on 1.0.0? |
True. You can test this easily with git checkout -t origin/0.8.x
git cherry-pick 141c075
sbt publishLocal |
thanks, looking good!
i do notice that the directory skeleton is left behind (suspect this is a RPM thing):
btw, something else I struggled with are the file permissions, I do something like this in my build:
and in the spec file all the files have my user set, though once it's installed, majority of files are owned by root. I've resorted to
|
This is intentional. If you look at |
FIX #435 Adding loader and control functions
generated spec:
should be
userdel
andgroupdel
no? I did notice the linked Fedora docs aren't too excited about cleaning up users/groups:https://fedoraproject.org/wiki/Packaging:UsersAndGroups?rd=Packaging/UsersAndGroups
The text was updated successfully, but these errors were encountered: