From 045661315f2c0c78762e1a97ec981adedb61c816 Mon Sep 17 00:00:00 2001 From: malc Date: Fri, 2 Dec 2016 05:49:38 +0300 Subject: [PATCH] Right... --- misc/llppac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/misc/llppac b/misc/llppac index 1c6e4a7..8630125 100755 --- a/misc/llppac +++ b/misc/llppac @@ -49,6 +49,7 @@ while getopts m:t:f opt; do m) mime=$OPTARG;; t) type=$OPTARG;; f) force=1;; + c) css="-s $OPTARG";; ?) die "usage: $0 [-m mime/type] [-t filter] [-f] [path|url]";; esac done @@ -117,7 +118,7 @@ case $type in djvu) conv='ddjvu -format=pdf - "$casp"';; html) { missing prince "PrinceXML(http://www.princexml.com/)" - conv='prince -s /home/malc/xsrc/llpp/misc/rr.css - -o "$casp"' + conv='prince $css - -o "$casp"' };; html2epub) { missing pandoc "pandoc(http://pandoc.org)" -- 2.11.4.GIT