diff options
-rw-r--r-- | rpm/generic/zfs.spec.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/rpm/generic/zfs.spec.in b/rpm/generic/zfs.spec.in index 77f217dbe..c832404a6 100644 --- 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 |