aboutsummaryrefslogtreecommitdiffstats
path: root/testing/hplip/disable_upgrade.patch
blob: b6d657d079aa8ec4f386fc87985e450d580e6d51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- 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()