/
patch-ab
35 lines (33 loc) · 1.23 KB
/
patch-ab
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
26
27
28
29
30
31
32
33
34
35
$NetBSD: patch-ab,v 1.2 2011/07/09 14:19:30 bsiegert Exp $
--- config/install.pl.orig 2002-11-29 11:49:01.000000000 +0000
+++ config/install.pl
@@ -372,12 +372,6 @@ foreach $item (sort keys %Install_items)
if($cfg{TEXPATH}) {
print "\nNote: trying to install LaTeX2HTML style files in TeX directory tree\n ($cfg{TEXPATH})\n";
- unless(mkpath($cfg{TEXPATH})) {
- #my $testpath = $cfg{TEXPATH}; # to strip (latex2)html
- #$testpath =~ s/[$dd$dd][^$dd$dd]*$//;
- #if((-d $cfg{TEXPATH} && !-w _) || (-d $testpath && !-w _)) {
- print STDERR "\nError: Cannot install LaTeX2HTML style files in $cfg{TEXPATH}\n";
- } else {
my $dir = 'texinputs';
my $dest = $cfg{TEXPATH};
unless(opendir(DIR,$dir)) {
@@ -394,12 +388,12 @@ if($cfg{TEXPATH}) {
}
}
closedir(DIR);
- if($ok && $cfg{MKTEXLSR}) {
- print "Info: Running $cfg{MKTEXLSR} to rebuild ls-R database...\n";
- system($cfg{MKTEXLSR});
- }
+# print/teTeX/module.mk will run mktexlsr automatically.
+# if($ok && $cfg{MKTEXLSR}) {
+# print "Info: Running $cfg{MKTEXLSR} to rebuild ls-R database...\n";
+# system($cfg{MKTEXLSR});
+# }
}
- }
}
print "Done. Have a lot of fun with LaTeX2HTML!\n";
exit 0;