PKGBUILDs/extra/hplip/disable_upgrade.patch

15 lines
505 B
Diff
Raw Normal View History

2021-05-17 17:10:26 +00:00
--- upgrade.py.orig 2013-10-31 12:46:54.000000000 +0100
+++ 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')
+
2023-01-09 11:08:25 +00:00
+log.warn("HPLIP upgrade is disabled by Archlinux for security reasons, see https://bugs.archlinux.org/task/38083 - if you like to upgrade HPLIP, use the Archlinux software package manager pacman.")
2021-05-17 17:10:26 +00:00
+clean_exit(1)
+
+
for o, a in opts:
if o in ('-h', '--help'):
usage()