git://scientific.zcu.cz
/
rOCCI-packaging-fedora.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6eb63d
)
Better to call systemd sriplet first when removing.
author
František Dvořák
<valtri@civ.zcu.cz>
Sun, 14 Sep 2014 19:07:16 +0000
(21:07 +0200)
committer
František Dvořák
<valtri@civ.zcu.cz>
Sun, 14 Sep 2014 19:07:16 +0000
(21:07 +0200)
rOCCI-server.spec
patch
|
blob
|
blame
|
history
diff --git
a/rOCCI-server.spec
b/rOCCI-server.spec
index
e744d9e
..
cafbdd7
100644
(file)
--- a/
rOCCI-server.spec
+++ b/
rOCCI-server.spec
@@
-219,11
+219,11
@@
fi
%systemd_post %{name}.target
%preun
+%systemd_preun %{name}.target
if [ "$1" -lt "1" ] ; then # Final removal
semodule -r %{semodule_name} 2>/dev/null || :
semanage port -d -t http_port_t -p tcp 11443 2>/dev/null || :
fi
-%systemd_preun %{name}.target
%postun
if [ "$1" -ge "1" ] ; then # Upgrade