[helpers/make-hplip]: fix variable name typo, re-word non-free firmware messages, disable online features

This commit is contained in:
bill-auger 2023-09-22 14:31:58 +00:00 committed by Luis Guzmán
parent a2286f0d68
commit 0f6e9e9fa0
2 changed files with 62 additions and 2 deletions

View file

@ -0,0 +1,14 @@
--- 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')
+
+log.warn("HPLIP auto-upgrade is disabled by Trisquel for security reasons.")
+clean_exit(1)
+
+
for o, a in opts:
if o in ('-h', '--help'):
usage()