File: 0010-Correct-the-path-for-the-usb_printerid-program.patch

package info (click to toggle)
foo2zjs 20200505dfsg0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 9,700 kB
  • sloc: ansic: 41,030; xml: 12,765; sh: 7,882; makefile: 1,722; objc: 573; tcl: 173; perl: 102; python: 8
file content (21 lines) | stat: -rw-r--r-- 548 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: Didier Raboud <odyx@debian.org>
Date: Tue, 4 Oct 2016 11:43:53 +0200
Subject: Correct the path for the usb_printerid program

---
 hplj1000 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hplj1000 b/hplj1000
index 323069c..bb87a79 100755
--- a/hplj1000
+++ b/hplj1000
@@ -60,7 +60,7 @@ FWDIR=/usr/share/foo2zjs/firmware
 #    [snip]
 #    # Mount all other filesystems (except for NFS and /proc, which is already
 #
-PRINTERID=/bin/usb_printerid
+PRINTERID=`which usb_printerid`
 
 #
 #	Figure out how to log our messages