Use '-eq' instead of bash-specific '==' for version comparison.