@@ -1,23 +1,27 @@
---- install-faxprinter.sh.orig 2013-05-20 11:07:57.884536545 +0200
-+++ install-faxprinter.sh 2013-05-20 11:08:54.556537984 +0200
-@@ -7,6 +7,10 @@
+--- install-faxprinter.sh.orig 2013-05-20 11:07:57.000000000 +0200
++++ install-faxprinter.sh 2016-03-19 22:51:30.500563081 +0100
+@@ -7,6 +7,14 @@
fi
PREFIX="$1"
+LIB="$2"
++BACKEND="$3"
+if [ -z "$LIB" ] ; then
+ LIB="lib"
+fi
++if [ -z "$BACKEND" ] ; then
++ BACKEND="$PREFIX/usr/$LIB/cups/backend"
++fi
cd cups
-@@ -19,7 +23,7 @@
+@@ -19,7 +27,6 @@
mkdir -p $PREFIX/usr/share/yajhfc
install -m 0644 yajhfc.ppd $PREFIX/usr/share/yajhfc
-mkdir -p $PREFIX/usr/lib/cups/backend
-install -m 0755 yajhfc $PREFIX/usr/lib/cups/backend
-+mkdir -p $PREFIX/usr/$LIB/cups/backend
-+install -m 0755 yajhfc $PREFIX/usr/$LIB/cups/backend
-
+-
++mkdir -p $BACKEND
++install -m 0755 yajhfc $BACKEND
|