mirror of
https://github.com/nsacyber/HIRS.git
synced 2024-12-23 06:42:35 +00:00
8 lines
174 B
Bash
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 |