HIRS/package/scripts/common/get_db_service.sh
2018-09-06 09:47:33 -04:00

8 lines
174 B
Bash

if [[ $(rpm -qa mariadb*) ]]; then
echo "mariadb"
elif [[ $(rpm -qa mysql-server*) ]]; then
echo "mysqld"
else
echo "Could not determine installed database"
exit 1
fi