Accepting request 261710 from server:database

1

OBS-URL: https://build.opensuse.org/request/show/261710
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mariadb?expand=0&rev=46
This commit is contained in:
Dominique Leuenberger 2014-11-18 21:55:46 +00:00 committed by Git OBS Bridge
commit eebc485b89
2 changed files with 7 additions and 2 deletions

View File

@ -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

View File

@ -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