Sophie

Sophie

distrib > Mageia > 3 > i586 > by-pkgid > 672bdeb9492f64bde58e8878cd731c9a > scriptlet

mariadb-common-5.5.37-1.mga3.i586.rpm

PREIN

/bin/sh
# delete the mysql group if no mysql user is found, before adding the user
if [ -z "`getent passwd mysql`" ] && ! [ -z "`getent group mysql`" ]; then
    /usr/sbin/groupdel mysql 2> /dev/null || :
fi

/usr/share/rpm-helper/add-user mariadb $1 mysql /var/lib/mysql /bin/bash