Sophie

Sophie

distrib > Mageia > 6 > armv7hl > by-pkgid > 1e8d3ad086ce0e90d2430aa9dd471a0f > scriptlet

phpmyadmin-4.7.8-5.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