File disable_hp-upgrade.patch of Package hplip

Index: b/
--- a/
+++ b/
@@ -207,6 +207,11 @@ if os.geteuid() == 0:
 if os.getenv("HPLIP_DEBUG"):
+log.error("HPLIP upgrade is disabled by openSUSE for security reasons, see - if you like to upgrade HPLIP, use an openSUSE software package manager like YaST or zypper.")
 for o, a in opts:
     if o in ('-h', '--help'):
openSUSE Build Service is sponsored by