Search
j0ke.net Open Build Service
>
Projects
>
server:telephony
>
yajhfc
> yajhfc-faxprinter-lib.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File yajhfc-faxprinter-lib.patch of Package yajhfc
--- install-faxprinter.sh.orig 2013-05-20 11:07:57.000000000 +0200 +++ install-faxprinter.sh 2016-03-19 22:57:37.096565303 +0100 @@ -7,6 +7,16 @@ fi PREFIX="$1" +LIB="$2" +BACKEND="$3" +if [ -z "$LIB" ] ; then + LIB="lib" +fi +if [ -z "$BACKEND" ] ; then + BACKEND="$PREFIX/usr/$LIB/cups/backend" +else + BACKEND="$PREFIX/$BACKEND" +fi cd cups @@ -19,7 +29,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 $BACKEND +install -m 0755 yajhfc $BACKEND