diff options
Diffstat (limited to 'print/hplip/files/patch-ui5_setupdialog.py')
| -rw-r--r-- | print/hplip/files/patch-ui5_setupdialog.py | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/print/hplip/files/patch-ui5_setupdialog.py b/print/hplip/files/patch-ui5_setupdialog.py new file mode 100644 index 000000000000..0316e92145ff --- /dev/null +++ b/print/hplip/files/patch-ui5_setupdialog.py @@ -0,0 +1,20 @@ +--- ui5/setupdialog.py.orig 2025-11-18 10:32:03 UTC ++++ ui5/setupdialog.py +@@ -790,7 +790,7 @@ class SetupDialog(QDialog, Ui_Dialog): + sys_ppd_path = config.get("dirs", "ppd") + except Exception as e: + log.error("Error reading config file: %s" % e) +- sys_ppd_path = "/usr/share/ppd/HP" ++ sys_ppd_path = "/usr/local/share/ppd/HP" + + try: + ppdName = cups.getPpdName(self.model).strip() +@@ -1039,7 +1039,7 @@ class SetupDialog(QDialog, Ui_Dialog): + this is for driverless usb printer held by ippusbxd service on ubuntu 20 and above. + For network devices follow the old code. + ''' +- if(self.bus == "usb" and not os.path.isdir('/usr/share/ipp-usb/quirks')): ++ if(self.bus == "usb" and not os.path.isdir('/usr/local/share/ipp-usb/quirks')): + from base import local + from base.local import detectLocalDevices + try: |
