Closed Lynndox closed 1 year ago
Thanks @Lynndox!
I think what would make more sense is to check for the operating system, distribution, and package manager. That way dependencies can be properly determined. You can run into very common issues if you don't do this, such as Debian trying to install packages only available in Ubuntu's repositories, or vice-versa.
The distro
Python module is really good for this.
Check for existence of
apt
/pacman
rather than relying on /etc/os-release, which can be problematic (https://github.com/Andy-Python-Programmer/aero/issues/101#issuecomment-1514060054)