summaryrefslogtreecommitdiff
path: root/print/foomatic-filters/patches/patch-aa
blob: a2f9fde3a3c759404c0ed35678ce3ba68dd7c690 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- foomatic-rip.in.orig	2004-08-26 15:53:35.000000000 -0500
+++ foomatic-rip.in	2006-10-02 19:23:18.000000000 -0500
@@ -47,7 +47,7 @@
 my $execpath = "@prefix@/bin:/usr/local/bin:/usr/bin:/bin";
 
 # CUPS raster drivers are searched here
-my $cupsfilterpath = "@prefix@/lib/cups/filter:/usr/local/lib/cups/filter:/usr/local/libexec/cups/filter:/opt/cups/filter:/usr/lib/cups/filter";
+my $cupsfilterpath = "@CUPS_FILTERS@:@prefix@/lib/cups/filter";
 
 # Location of the configuration file "filter.conf", this file can be
 # used to change the settings of foomatic-rip without editing
@@ -5919,7 +5919,7 @@
 			     "      # Custom page size settings\n",
 			     "      # We aren't really checking for " .
 			     "legal vals.\n",
-			     "      if [ \"x\${$varn}\" == 'x$val' ]; " .
+			     "      if [ \"x\${$varn}\" = 'x$val' ]; " .
 			     "then\n",
 			     "        $varn=\"\${$varn}.\${PageWidth}" .
 			     "x\${PageHeight}\${PageSizeUnit}\"\n",