Sophie

Sophie

distrib > Mageia > 7 > armv7hl > media > core-updates > by-pkgid > 8a749c2885159aee4e796ef087a22da5 > scriptlet

phpmyadmin-4.9.5-2.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