wok diff phpmyadmin/receipt @ rev 16040

tazpanel: gettext is installed in chroot
author Christophe Lincoln <pankso@slitaz.org>
date Sun Mar 09 11:49:44 2014 +0100 (2014-03-09)
parents 78cb1e930abd
children d51b2411e55e
line diff
     1.1 --- a/phpmyadmin/receipt	Sat Sep 07 15:59:12 2013 +0000
     1.2 +++ b/phpmyadmin/receipt	Sun Mar 09 11:49:44 2014 +0100
     1.3 @@ -44,6 +44,9 @@
     1.4  
     1.5  post_install()
     1.6  {
     1.7 +	secret=$(dd if=/dev/urandom count=1 2> /dev/null | md5sum | sed 's/ .*//')
     1.8 +	sed -i "s/^\(.*blowfish_secret'] = '\)'/\1$secret'/" \
     1.9 +		$1/etc/phpmyadmin/config.inc.php
    1.10  	# Configure lighttpd server
    1.11  	if [ -f $1/etc/lighttpd/lighttpd.conf ]; then
    1.12  		if ! grep -q /usr/share/phpmyadmin/ $1/etc/lighttpd/lighttpd.conf; then