From 08a0b5ca69eea6b5982c6de0001158c03953aa19 Mon Sep 17 00:00:00 2001 From: Kenneth Strawn Date: Tue, 8 Oct 2019 09:55:28 -0700 Subject: [PATCH] Fix "Illegal option keyword string" errors --- net-print/hplip/hplip-3.19.8.ebuild | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/net-print/hplip/hplip-3.19.8.ebuild b/net-print/hplip/hplip-3.19.8.ebuild index ac23a93aaa9..3a008ec4ca7 100644 --- a/net-print/hplip/hplip-3.19.8.ebuild +++ b/net-print/hplip/hplip-3.19.8.ebuild @@ -234,6 +234,13 @@ src_configure() { # gzip > ${i}.temp || die # mv ${i}.temp ${i} || die #done + + #"Custom/Custom" causes "Illegal option keyword string" error + for i in ppd/{hpcups,hpijs}/*.ppd.gz; do + rm -f ${i}.temp || die + gunzip -c ${i} | sed -e 's/Custom\/Custom/Other\/Custom/g' | gzip ${i}.temp || die + gunzip -c ${i} | sed -e 's/Custom.FB\/Borderless/Other.FB\/Borderless/g' | gzip ${i}.temp || die + mv ${i}.temp ${i} || die + done } src_install() { --- 2.21.0