mirror of
https://github.com/nsacyber/HIRS.git
synced 2024-12-28 08:48:59 +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 |