aports/testing/hplip/disable_upgrade.patch
Bartłomiej Piotrowski 2c9da7ddd6 testing/hplip: new aport
2014-03-16 16:41:44 +01:00

15 lines
425 B
Diff

--- a/upgrade.py 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 by Alpine Linux for security reasons, see https://bugs.archlinux.org/task/38083")
+clean_exit(1)
+
+
for o, a in opts:
if o in ('-h', '--help'):
usage()