Le samedi, 21 septembre 2019, 14.07:18 h CEST Didier 'OdyX' Raboud a écrit : > (It seems this whole "detect the distro and try being smart" should be > removed completely from Debian's hplip).
With this in mind, I've prepared an hplip version which totally skips the
guessing parts:
def validate_distro_version(self):
- if self.validate_disto():
- for vers in self.distros[self.distro_name]['versions']:
- if self.distro_version == vers:
- return True
-
- return False
+ # It's shipped in Debian. It's supported.
+ return True
def is_auto_installer_support(self, distro_version=DISTRO_VER_UNKNOWN):
- if not self.distro_name:
- self.get_distro()
- (… etc etc …)
+ # No auto install ever.
+ return False
It will also forbid the hp-* tools to try to install supposedly missing
dependencies themselves. Debian has package dependencies for a reason.
That'll be 3.19.8+dfsg0-4, uploaded later tonight. It will also ship
autopkgtests, to also test hplip printing on fake printers.
Hopefully, that'll help for a better hplip on the long-term!
Cheers,
OdyX
signature.asc
Description: This is a digitally signed message part.
