packages: mysql/mysql.spec - revert postun using postshell, it's too simple...

arekm arekm at pld-linux.org
Fri Jan 28 20:57:56 CET 2011


Author: arekm                        Date: Fri Jan 28 19:57:56 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- revert postun using postshell, it's too simple shell that doesn't handle many things

---- Files affected:
packages/mysql:
   mysql.spec (1.515 -> 1.516) 

---- Diffs:

================================================================
Index: packages/mysql/mysql.spec
diff -u packages/mysql/mysql.spec:1.515 packages/mysql/mysql.spec:1.516
--- packages/mysql/mysql.spec:1.515	Fri Jan 28 20:49:30 2011
+++ packages/mysql/mysql.spec	Fri Jan 28 20:57:51 2011
@@ -796,8 +796,8 @@
 	/sbin/chkconfig --del mysql
 fi
 
-%postun -p /sbin/postshell
--/usr/sbin/fix-info-dir -c %{_infodir}
+%postun
+[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
 
 if [ "$1" = "0" ]; then
 	%userremove mysql
@@ -1194,6 +1194,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.516  2011/01/28 19:57:51  arekm
+- revert postun using postshell, it's too simple shell that doesn't handle many things
+
 Revision 1.515  2011/01/28 19:49:30  arekm
 - rel 0.6; feature set community; fix comment option
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/mysql/mysql.spec?r1=1.515&r2=1.516&f=u



More information about the pld-cvs-commit mailing list