From bf0178d2a380b4e0408e721e40d06a3d0d654a67 Mon Sep 17 00:00:00 2001 From: Florian La Roche Date: Sun, 11 Feb 2007 22:35:56 +0000 Subject: [PATCH] - never fail the preun script --- smartmontools.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/smartmontools.spec b/smartmontools.spec index 8ac470d..aa3a75b 100644 --- a/smartmontools.spec +++ b/smartmontools.spec @@ -1,7 +1,7 @@ Summary: Tools for monitoring SMART capable hard disks Name: smartmontools Version: 5.36 -Release: 5%{?dist} +Release: 6%{?dist} Epoch: 1 Group: System Environment/Base License: GPL @@ -70,6 +70,7 @@ if [ "$1" = "0" ] ; then /sbin/service smartd stop /sbin/chkconfig --del smartd fi +exit 0 %post /sbin/chkconfig --add smartd @@ -80,6 +81,9 @@ exit 0 %changelog +* Sun Feb 11 2007 Florian La Roche - 1:5.36-6 +- make sure the preun script does not fail + * Tue Nov 7 2006 Tomas Mraz - 1:5.36-5 - set cloexec on device descriptor so it doesn't leak to sendmail (#214182) - fixed minor bug in initscript (#213683)