mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
Fix glibc version check in Linux installer
I'd changed it for testing, and accidentally committed it.
This commit is contained in:
parent
2594dcb2bb
commit
cedece5cae
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ pub fn ensure_glibc_supported() -> Result<()> {
|
||||||
};
|
};
|
||||||
|
|
||||||
let (major, minor) = get_glibc_version().unwrap_or_default();
|
let (major, minor) = get_glibc_version().unwrap_or_default();
|
||||||
if major < 3 || (major == 2 && minor < 36) {
|
if major < 2 || (major == 2 && minor < 36) {
|
||||||
anyhow::bail!("Anki requires a modern Linux distro with glibc 2.36 or later.");
|
anyhow::bail!("Anki requires a modern Linux distro with glibc 2.36 or later.");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue