mirror of
				https://github.com/community-scripts/ProxmoxVE.git
				synced 2025-11-04 02:12:49 +00:00 
			
		
		
		
	Update tools.func
This commit is contained in:
		@@ -246,7 +246,7 @@ install_mariadb() {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
  local CURRENT_VERSION=""
 | 
					  local CURRENT_VERSION=""
 | 
				
			||||||
  if command -v mariadb >/dev/null; then
 | 
					  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
 | 
					  fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  if [[ "$CURRENT_VERSION" == "$MARIADB_VERSION" ]]; then
 | 
					  if [[ "$CURRENT_VERSION" == "$MARIADB_VERSION" ]]; then
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user