Sophie

Sophie

distrib > Mageia > 7 > x86_64 > by-pkgid > 1b7907f86d5c0c244ce66d0949683fc3 > scriptlet

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