summarylogtreecommitdiffstats
path: root/brother_lpdwrapper_HLL2305.patch
diff options
context:
space:
mode:
authorNGlen2018-08-20 10:21:18 -0400
committerNGlen2018-08-20 10:21:18 -0400
commitd34775fcb2998fd510a27d9283c75d6335a7237d (patch)
treee7f7befdb0c873d603c70bd575632c870820e061 /brother_lpdwrapper_HLL2305.patch
downloadaur-brother-hll2305w.tar.gz
First Commit
Diffstat (limited to 'brother_lpdwrapper_HLL2305.patch')
-rw-r--r--brother_lpdwrapper_HLL2305.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/brother_lpdwrapper_HLL2305.patch b/brother_lpdwrapper_HLL2305.patch
new file mode 100644
index 00000000000..76eaf0f49f2
--- /dev/null
+++ b/brother_lpdwrapper_HLL2305.patch
@@ -0,0 +1,23 @@
+53,54c53,55
+< $basedir =~ s/$PRINTER\/cupswrapper\/.*$/$PRINTER\//g;
+<
+---
+> #$basedir =~ s/$PRINTER\/cupswrapper\/.*$/$PRINTER\//g;
+> my $PRINTER = "HLL2305";
+> my $basedir = "/usr/share/Brother/Printer/$PRINTER";
+80c81
+< my $PRINTER=$basedir;
+---
+> #my $PRINTER=$basedir;
+87,89c88,90
+< $PRINTER =~ s/^\/opt\/.*\/Printers\///g;
+< $PRINTER =~ s/\/cupswrapper//g;
+< $PRINTER =~ s/\///g;
+---
+> #$PRINTER =~ s/^\/opt\/.*\/Printers\///g;
+> #$PRINTER =~ s/\/cupswrapper//g;
+> #$PRINTER =~ s/\///g;
+736c737
+< $lpddir = $basedir."/lpd/";
+---
+> $lpddir = $basedir."/lpd";