mirror of
https://github.com/nsacyber/HIRS.git
synced 2024-12-30 17:57:03 +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
|