SPECS: mysql.spec - ignore error from mysql restart in %post. it d...

glen glen at pld-linux.org
Thu Sep 22 14:24:17 CEST 2005


Author: glen                         Date: Thu Sep 22 12:24:17 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- ignore error from mysql restart in %post. it doesn't give any value not having so, but having it could at least prevent duplicate mysql packages installed on system

---- Files affected:
SPECS:
   mysql.spec (1.297 -> 1.298) 

---- Diffs:

================================================================
Index: SPECS/mysql.spec
diff -u SPECS/mysql.spec:1.297 SPECS/mysql.spec:1.298
--- SPECS/mysql.spec:1.297	Sat Sep 17 13:51:46 2005
+++ SPECS/mysql.spec	Thu Sep 22 14:24:06 2005
@@ -585,7 +585,7 @@
 #'
 fi
 
-%service mysql restart
+%service mysql restart || :
 
 %preun
 if [ "$1" = "0" ]; then
@@ -872,6 +872,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.298  2005/09/22 12:24:06  glen
+- ignore error from mysql restart in %post. it doesn't give any value not having so, but having it could at least prevent duplicate mysql packages installed on system
+
 Revision 1.297  2005/09/17 11:51:46  arekm
 - new readline 5.0
 
@@ -879,7 +882,7 @@
 - updated to 4.1.14
 
 Revision 1.295  2005/07/27 13:51:06  glen
-- guide where are the help tables data (probably it should be instead in iniscript?)
+- guide where are the help tables data (probably it should be instead in initscript?)
 
 Revision 1.294  2005/07/21 14:13:50  glen
 - use %service macro for mysql server
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/mysql.spec?r1=1.297&r2=1.298&f=u




More information about the pld-cvs-commit mailing list