Sophie

Sophie

distrib > Mageia > 7 > armv7hl > media > core-updates > by-pkgid > 6afc4669e8b7079336472d30a6029916 > scriptlet

phpmyadmin-4.9.6-1.mga7.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