mirror of
https://github.com/nsacyber/HIRS.git
synced 2024-12-22 22:32:27 +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 |