git://git.onelab.eu
/
sfa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
9de8e04
)
rpm scriptlets need to return 0
author
Thierry Parmentelat
<thierry.parmentelat@inria.fr>
Thu, 28 Mar 2019 14:19:29 +0000
(15:19 +0100)
committer
Thierry Parmentelat
<thierry.parmentelat@inria.fr>
Thu, 28 Mar 2019 14:19:29 +0000
(15:19 +0100)
sfa.spec
patch
|
blob
|
history
diff --git
a/sfa.spec
b/sfa.spec
index
8027d5c
..
41318d3
100644
(file)
--- a/
sfa.spec
+++ b/
sfa.spec
@@
-198,6
+198,7
@@
rm -rf $RPM_BUILD_ROOT
%post
systemctl enable sfa-aggregate
systemctl enable sfa-registry
+true
%preun
if [ "$1" = 0 ] ; then
@@
-206,6
+207,7
@@
if [ "$1" = 0 ] ; then
systemctl is-active $service && systemctl stop $service
done
fi
+true
%postun
if [ "$1" -ge "1" ] ; then
@@
-213,6
+215,7
@@
if [ "$1" -ge "1" ] ; then
systemctl is-active $service && systemctl restart $service
done
fi
+true
%changelog
* Mon Jan 07 2019 Thierry <Parmentelat> - sfa-4.0-2