1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-17 05:05:14 +03:00
aports/testing/hplip/disable_upgrade.patch
Leonardo Arena ff8e2bdfcb testing/hplip: upgrade to 3.18.10
Disable self-upgrade, remove closed-source parts

Patches from Debian and Void
2018-11-26 08:40:25 +00:00

14 lines
391 B
Diff

--- a/upgrade.py.orig 2013-10-31 12:46:54.000000000 +0100
+++ b/upgrade.py 2013-12-04 14:58:03.000000000 +0100
@@ -134,6 +134,11 @@ except getopt.GetoptError, e:
if os.getenv("HPLIP_DEBUG"):
log.set_level('debug')
+
+log.error("HPLIP upgrade is disabled - if you like to upgrade HPLIP, use apk.")
+clean_exit(1)
+
+
for o, a in opts:
if o in ('-h', '--help'):
usage()