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

package info (click to toggle)
foo2zjs 20160902dfsg0-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 8,944 kB
  • ctags: 5,880
  • sloc: ansic: 39,074; xml: 12,015; sh: 6,903; makefile: 1,648; objc: 573; tcl: 171; perl: 102; python: 8
file content (22 lines) | stat: -rw-r--r-- 619 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From 32b488c16e93c58ef1672adcac12e0eed353829b Mon Sep 17 00:00:00 2001
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