wok-current diff mysql/receipt @ rev 2369
fix chroot in post_install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 06 10:53:07 2009 +0000 (2009-03-06) |
parents | ac38c3a33f71 |
children | 4aa363a445f7 |
line diff
1.1 --- a/mysql/receipt Wed Mar 04 10:16:20 2009 +0000 1.2 +++ b/mysql/receipt Fri Mar 06 10:53:07 2009 +0000 1.3 @@ -62,7 +62,7 @@ 1.4 # addgroup mysql if needed 1.5 if ! grep -q mysql $1/etc/group; then 1.6 echo -n "Adding group mysql..." 1.7 - chroot $1/ /bin/addgroup mysql && /bin/addgroup mysql mysql 1.8 + chroot $1/ sh -c '/bin/addgroup mysql && /bin/addgroup mysql mysql' 1.9 status 1.10 fi 1.11 chroot $1/ /bin/chown mysql.mysql $(cat $1/$INSTALLED/$PACKAGE/files.list)