mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-11-10 13:37:19 +01:00
Update tools.func
This commit is contained in:
1 parent
86674ef376
commit
8787ef57b5
1 file changed
+1
-1
+1
-1
@@ -246,7 +246,7 @@ install_mariadb() {
|
||||
|
||||
local CURRENT_VERSION=""
|
||||
if command -v mariadb >/dev/null; then
|
||||
CURRENT_VERSION="$(mariadb --version | grep -oP 'Ver\s+\K[0-9]+\.[0-9]+')"
|
||||
CURRENT_VERSION=$(mariadb --version | grep -oE '[0-9]+\.[0-9]+\.[0-9]+')
|
||||
fi
|
||||
|
||||
if [[ "$CURRENT_VERSION" == "$MARIADB_VERSION" ]]; then
|
||||
|
||||
Reference in new issue
Block a user