Sophie

Sophie

distrib > Mageia > 6 > x86_64 > media > core-updates > by-pkgid > 5791ec77a86e461f035ae5a928de5d39 > scriptlet

phpmyadmin-4.7.8-1.mga6.noarch.rpm

POSTIN

/bin/sh
# generate random secret
secret=$(/usr/share/rpm-helper/get-password 46)

# blowfish secret
perl -pi \
    -e "s|\\\$cfg\\['blowfish_secret'\\] = ''|\\\$cfg\\['blowfish_secret'\\] = '$secret'|" \
    /etc/phpmyadmin/config.inc.php