Sophie

Sophie

distrib > Mageia > 7 > armv7hl > media > core-updates > by-pkgid > 099f1193c830f0fd9b29467d57513c3f > scriptlet

mariadb-common-10.3.29-1.mga7.armv7hl.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