Update package.py

updated debian distro compatability to include linuxmint, LMDE

***untested***
but should work, or at least not break anything currently working
This commit is contained in:
aleczdr
2024-04-16 10:31:53 -04:00
committed by GitHub
parent 65a2802aba
commit 40f94fa816

View File

@@ -108,7 +108,7 @@ def get_backend():
"""Return the appropriate package backend.""" """Return the appropriate package backend."""
distname = utils.dist_name() distname = utils.dist_name()
backend = None backend = None
if distname in ["debian", "debian gnu/linux", "ubuntu"]: if distname in ["debian", "debian gnu/linux", "ubuntu", "linuxmint", "LMDE"]:
backend = DEBPackage backend = DEBPackage
elif "centos" in distname: elif "centos" in distname:
backend = RPMPackage backend = RPMPackage