summaryrefslogtreecommitdiff
path: root/print/system-config-printer/files/patch-system-config-printer.py
diff options
context:
space:
mode:
Diffstat (limited to 'print/system-config-printer/files/patch-system-config-printer.py')
-rw-r--r--print/system-config-printer/files/patch-system-config-printer.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/print/system-config-printer/files/patch-system-config-printer.py b/print/system-config-printer/files/patch-system-config-printer.py
index 2d8528a7b4f3..2a98aba10a16 100644
--- a/print/system-config-printer/files/patch-system-config-printer.py
+++ b/print/system-config-printer/files/patch-system-config-printer.py
@@ -1,6 +1,6 @@
---- system-config-printer.py.orig 2008-07-10 10:31:58.000000000 -0500
-+++ system-config-printer.py 2008-07-26 13:26:03.412705522 -0500
-@@ -3389,7 +3389,7 @@
+--- system-config-printer.py.orig 2008-11-21 11:19:25.000000000 -0600
++++ system-config-printer.py 2008-11-22 11:30:37.732537129 -0600
+@@ -3668,7 +3668,7 @@
# Try to get make and model via SNMP
if host:
os.environ["HOST"] = host
@@ -9,7 +9,7 @@
debugprint (host + ": " + cmd)
stdout = None
try:
-@@ -4693,7 +4693,7 @@
+@@ -5140,7 +5140,7 @@
try:
# We want this to be in the current natural language,
# so we intentionally don't set LC_ALL=C here.
@@ -18,11 +18,11 @@
'-rvv', filename],
stdin=file("/dev/null"),
stdout=subprocess.PIPE,
-@@ -4984,7 +4984,7 @@
+@@ -5433,7 +5433,7 @@
(pkgs, exes) = cupshelpers.missingPackagesAndExecutables (ppd)
if len (pkgs) > 0 or len (exes) > 0:
# We didn't find a necessary executable. Complain.
-- install = "/usr/bin/system-install-packages"
+- install = "/usr/bin/gpk-install-package-name"
+ install = "/usr/bin/true"
if len (pkgs) > 0 and os.access (install, os.X_OK):
pkg = pkgs[0]