SHA256
1
0
forked from pool/mariadb

- Get rid of error during update

OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb?expand=0&rev=156
This commit is contained in:
Michal Hrusecky (old before rename to _miska_) 2014-09-19 17:45:25 +00:00 committed by Git OBS Bridge
parent cc480b61e6
commit 2d950ab471
3 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b37a73dc9a052dfd53b58786e29b64618371b26991029e8960669bb50abf2540
oid sha256:8ec50f340dbc624772923a07c72a66867b26ba2482cb2a9a4fe547e78a1cf89f
size 222

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Sep 19 17:41:26 UTC 2014 - michal.hrusecky@opensuse.org
- Get rid of error during update
-------------------------------------------------------------------
Tue Sep 16 06:37:15 UTC 2014 - michal.hrusecky@opensuse.org

View File

@ -476,8 +476,8 @@ 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
[ -x /usr/sbin/rcmysql ] && /usr/sbin/rcmysql start
rmdir %{_rundir}/mysql/restart || :
rmdir %{_rundir}/mysql || :
# Might not be there, so ignoring errors
rmdir %{_rundir}/mysql/restart 2> /dev/null || :
fi
# warn on first run
datadir="/var/lib/mysql"