git://git.camperquake.de
/
zfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba661a6
)
Add conditional chkconfig to packaging
author
Brian Behlendorf
<behlendorf1@llnl.gov>
Thu, 4 Jul 2013 04:38:45 +0000
(21:38 -0700)
committer
Brian Behlendorf
<behlendorf1@llnl.gov>
Thu, 4 Jul 2013 04:56:05 +0000
(21:56 -0700)
Unconditionally exit with zero to avoid returning failures
from the scriptlets. This should have been part of the
previous ba661a6 commit.
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #1376
rpm/generic/zfs.spec.in
patch
|
blob
|
history
diff --git
a/rpm/generic/zfs.spec.in
b/rpm/generic/zfs.spec.in
index
77f217d
..
c832404
100644
(file)
--- a/
rpm/generic/zfs.spec.in
+++ b/
rpm/generic/zfs.spec.in
@@
-116,11
+116,13
@@
find %{?buildroot}%{_libdir} -name '*.la' -exec rm -f {} \;
%post
/sbin/ldconfig
[ -x /sbin/chkconfig ] && /sbin/chkconfig --add zfs
+exit 0
%preun
if [ $1 -eq 0 ] ; then
[ -x /sbin/chkconfig ] && /sbin/chkconfig --del zfs
fi
+exit 0
%postun -p /sbin/ldconfig