blob: 20983d8a631fbeba1e3384aada2cd57b998819eb (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
--- alignmargins.orig Fri Jan 28 11:19:27 2005
+++ alignmargins Fri Jan 28 11:22:34 2005
@@ -1,17 +1,17 @@
#! /usr/bin/perl
$0 =~ m!^(.*)/[^/]+$!;
my $programpath = $1;
-my $printcommand = '/usr/bin/lpr -P ';
-my $egrep = '/bin/egrep';
+my $printcommand = '%%LOCALBASE%%/bin/lpr -P ';
+my $egrep = '/usr/bin/egrep';
my $cat = '/bin/cat';
my $cut = '/usr/bin/cut';
my $head = '/usr/bin/head';
my $tail = '/usr/bin/tail';
my $wc = '/usr/bin/wc';
my $adjustmentpagename = 'align.ps';
-my $adjustmentpagepath = ($programpath ? "${programpath}:" : "") . '.:~:/usr/share/alignmargins:/usr/local/share/alignmargins:/usr/share:/usr/local/share:/usr/share/printer-testpages:/usr/local/share/printer-testpages:/usr/share/ghostscript/*/lib:/usr/local/share/ghostscript/*/lib';
-my $ppddir = '/etc/cups/ppd';
-my $printerconffile = '/etc/cups/printers.conf';
+my $adjustmentpagepath = ($programpath ? "${programpath}:" : "") . '.:~:%%DATADIR%%:/usr/share/alignmargins:/usr/local/share/alignmargins:/usr/share:/usr/local/share:/usr/share/printer-testpages:/usr/local/share/printer-testpages:/usr/share/ghostscript/*/lib:/usr/local/share/ghostscript/*/lib';
+my $ppddir = '%%LOCALBASE%%/etc/cups/ppd';
+my $printerconffile = '%%LOCALBASE%%/etc/cups/printers.conf';
# Find "�lign.ps"
|