From: Thierry Parmentelat Date: Thu, 20 Apr 2006 08:59:09 +0000 (+0000) Subject: according to Mark's explanation X-Git-Tag: myplc-0_4-rc1~60 X-Git-Url: http://git.onelab.eu/?p=myplc.git;a=commitdiff_plain;h=97a90f27899194ec955b4cf6f4d4be0f95cdb9b7 according to Mark's explanation performs 'service plc stop' inside the conditional within %preun --- diff --git a/myplc.spec b/myplc.spec index f866858..5ad9e5f 100644 --- a/myplc.spec +++ b/myplc.spec @@ -78,8 +78,8 @@ chkconfig plc on %preun # 0 = erase, 1 = upgrade -service plc stop if [ $1 -eq 0 ] ; then + service plc stop chkconfig plc off chkconfig --del plc fi