wok-6.x diff mysql/receipt @ rev 20261
Up linux 3.16.55
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 15 11:24:25 2018 +0100 (2018-03-15) |
parents | ed8073aa8cf0 |
children | 970c5ec9a60a |
line diff
1.1 --- a/mysql/receipt Mon Dec 21 00:07:14 2015 +0100 1.2 +++ b/mysql/receipt Thu Mar 15 11:24:25 2018 +0100 1.3 @@ -133,7 +133,8 @@ 1.4 # Cleanup old files 1.5 rm -f "$1/usr/libexec/mysql"* 1.6 # Mv config 1.7 - [ -f "$1/etc/my.cnf" ] && mv -f "$1/etc/my.cnf" "$1/etc/mysql/my.cnf" 1.8 + [ -f "$1/etc/my.cnf" ] && 1.9 + mv -f "$1/etc/my.cnf" "$1/etc/mysql/my.cnf" || true 1.10 } 1.11 1.12 post_remove()