From: Arkadiusz Miƛkiewicz Date: Fri, 28 Jan 2011 19:57:51 +0000 (+0000) Subject: - revert postun using postshell, it's too simple shell that doesn't handle many things X-Git-Tag: auto/th/percona-server-5.7.19-17.1~206 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=ec56ce82ce91d6807be5914ecf5d1a7c10aaa039;p=packages%2Fpercona-server.git - revert postun using postshell, it's too simple shell that doesn't handle many things Changed files: mysql.spec -> 1.516 --- diff --git a/mysql.spec b/mysql.spec index a126e59..fa883a4 100644 --- a/mysql.spec +++ b/mysql.spec @@ -795,8 +795,8 @@ if [ "$1" = "0" ]; then /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