From: Didier Raboud <odyx@debian.org>
Date: Tue, 4 Oct 2016 11:43:56 +0200
Subject: Firmware directory is /lib/firmware/hp/ (Closes: #517957)

---
 arm2hpdl.1in      | 2 +-
 getweb.in         | 2 +-
 hplj1000          | 2 +-
 usb_printerid.1in | 4 ++--
 4 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/arm2hpdl.1in b/arm2hpdl.1in
index 213d21b..33e6ccd 100644
--- a/arm2hpdl.1in
+++ b/arm2hpdl.1in
@@ -31,7 +31,7 @@ $ arm2hpdl sihp1005.img > sihp1005.dl
 
 .SH FILES
 .BR /usr/bin/arm2hpdl,
-.BR /usr/share/foo2*/firmware/
+.BR /lib/firmware/hp/*
 .SH SEE ALSO
 .BR foo2zjs (1)
 .SH "AUTHOR"
diff --git a/getweb.in b/getweb.in
index 11f2aa6..3322de6 100755
--- a/getweb.in
+++ b/getweb.in
@@ -127,7 +127,7 @@ fi
 putfw() {
     inputname=$1
     outputname=$2
-    $ARM2HPDL $inputname > /usr/share/foo2zjs/firmware/$outputname
+    $ARM2HPDL $inputname > /lib/firmware/hp/$outputname
     rm $inputname
 }
 
diff --git a/hplj1000 b/hplj1000
index 2f22631..21ca570 100755
--- a/hplj1000
+++ b/hplj1000
@@ -48,7 +48,7 @@ USB_BACKEND=/usr/lib/cups/backend/usb
 #
 # Directory to find downloadable HP firmware files sihpMMMM.dl
 #
-FWDIR=/usr/share/foo2zjs/firmware
+FWDIR=/lib/firmware/hp
 
 #
 # Program used to determine USB printer id information
diff --git a/usb_printerid.1in b/usb_printerid.1in
index 0454ef6..34817e4 100644
--- a/usb_printerid.1in
+++ b/usb_printerid.1in
@@ -26,7 +26,7 @@ GET_DEVICE_ID string:
 MFG:Hewlett-Packard;MDL:HP LaserJet 1020;CMD:ACL;CLS:PRINTER;\e
 DES:HP LaserJet 1020;
 
-# cp /usr/share/foo2zjs/firmware/sihp1020.dl /dev/usb/lp0
+# cp /lib/firmware/hp/sihp1020.dl /dev/usb/lp0
 
 # usb_printerid /dev/usb/lp0
 GET_DEVICE_ID string:
@@ -37,7 +37,7 @@ DES:HP LaserJet 1020;FWVER:20050309;
 
 .SH FILES
 .BR /usr/bin/usb_printerid,
-.BR /usr/share/foo2*/firmware/*
+.BR /lib/firmware/hp/*
 .SH SEE ALSO
 .BR arm2hpdl (1)
 .SH "AUTHOR"
