wok diff mariadb/receipt @ rev 19766

mysql, mariadb: fix pre_install status (thanks Aleksej)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 20 09:35:09 2017 +0100 (2017-02-20)
parents 9e01bc6321ea
children 970c5ec9a60a
line diff
     1.1 --- a/mariadb/receipt	Sun Dec 20 15:13:45 2015 +0100
     1.2 +++ b/mariadb/receipt	Mon Feb 20 09:35:09 2017 +0100
     1.3 @@ -106,7 +106,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()