forked from pool/mariadb
Accepting request 260534 from home:Ledest:misc
fix bashism in posttrans script OBS-URL: https://build.opensuse.org/request/show/260534 OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=160
This commit is contained in:
parent
0604d57c91
commit
28d04d0271
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Nov 09 18:53:00 UTC 2014 - Led <ledest@gmail.com>
|
||||
|
||||
- fix bashism in posttrans script
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 9 16:58:53 UTC 2014 - michal.hrusecky@opensuse.org
|
||||
|
||||
|
@ -479,8 +479,8 @@ end
|
||||
if [ -d /var/lib/mysql ]; then
|
||||
touch /var/lib/mysql/.run-mysql_upgrade
|
||||
fi
|
||||
for i in /var/lib/mysql/{.protected,.tmp}; do
|
||||
( [ -d "$i" ] && rmdir "$i" ) || :
|
||||
for in in protected tmp; do
|
||||
rmdir /var/lib/mysql/.$i 2>/dev/null || :
|
||||
done
|
||||
# start mysql again if it should run
|
||||
if [ "`ls /etc/rc.d/rc*.d/S*mysql 2> /dev/null`" ] || [ -d %{_rundir}/mysql/restart ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user