archrelease: copy trunk to staging-x86_64
[arch-packages.git] / hplip / trunk / disable_upgrade.patch
blob3196b903c50636795b22c660b4d0059ff51e54ec
1 --- upgrade.py.orig 2013-10-31 12:46:54.000000000 +0100
2 +++ upgrade.py 2013-12-04 14:58:03.000000000 +0100
3 @@ -134,6 +134,11 @@ except getopt.GetoptError, e:
4 if os.getenv("HPLIP_DEBUG"):
5 log.set_level('debug')
8 +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.")
9 +clean_exit(1)
12 for o, a in opts:
13 if o in ('-h', '--help'):
14 usage()