Sophie

Sophie

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

phpmyadmin-4.7.7-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