wok-6.x diff phpmyadmin/receipt @ rev 15894
libnl: remove devel files (save space on ISO)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Feb 12 22:53:55 2014 +0100 (2014-02-12) |
parents | 78cb1e930abd |
children | d51b2411e55e |
line diff
1.1 --- a/phpmyadmin/receipt Sat Sep 07 15:59:12 2013 +0000 1.2 +++ b/phpmyadmin/receipt Wed Feb 12 22:53:55 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