diff options
author | Roland Stigge <stigge@antcom.de> | 2019-07-06 11:41:53 +0200 |
---|---|---|
committer | Carsten Leonhardt <leo@debian.org> | 2019-07-06 11:41:53 +0200 |
commit | d23c3aae8a9d60cc3f9c3cbdc0c43698047e24fd (patch) | |
tree | 087bed20907fa6097cccc1b2a025c81b9d339ed5 | |
parent | f719c97964a58b272892cac5c0f8dda417477d67 (diff) |
Adjust to Debian installation
This patch adjusts several files to the Debian specific installation.
Gbp-Pq: Topic debian
Gbp-Pq: Name install.patch
-rwxr-xr-x | config/install.pl | 6 | ||||
-rwxr-xr-x | makeseg/makeseg | 8 |
2 files changed, 7 insertions, 7 deletions
diff --git a/config/install.pl b/config/install.pl index 467814d..fafe059 100755 --- a/config/install.pl +++ b/config/install.pl @@ -236,7 +236,7 @@ my %Install_items = ( 'styles' => 'lib,recurse', # MRO: Tests are for pre-installation testing #'tests' => 'lib,recurse', - 'texinputs' => 'lib,recurse', + #'texinputs' => 'lib,recurse', #'texlive.pm' => 'lib', 'versions' => 'lib,recurse', #'wrapper' => 'lib,recurse', @@ -373,7 +373,7 @@ 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})) { + unless($ENV{'INSTALLING_DEBIAN'} || 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 _)) { @@ -395,7 +395,7 @@ if($cfg{TEXPATH}) { } } closedir(DIR); - if($ok && $cfg{MKTEXLSR}) { + if($ok && $cfg{MKTEXLSR} && ! $ENV{'INSTALLING_DEBIAN'}) { print "Info: Running $cfg{MKTEXLSR} to rebuild ls-R database...\n"; system($cfg{MKTEXLSR}); } diff --git a/makeseg/makeseg b/makeseg/makeseg index 98f5145..5d7ec2f 100755 --- a/makeseg/makeseg +++ b/makeseg/makeseg @@ -17,23 +17,23 @@ # config file settings therefore override anything set here # Location to look for L2H-supported LaTeX styles -$LATEX2HTMLSTYLES="/usr/local/lib/texmf/latex2html/styles" +$LATEX2HTMLSTYLES="/usr/share/texmf/latex2html/styles" unless $LATEX2HTMLSTYLES; # Location for TeX style files etc. # $TEXINPUTS is read from the environment if not explicitly supplied $TEXINPUTS=$ENV{'TEXINPUTS'} unless $TEXINPUTS; -$TEXINPUTS=".:/usr/local/lib/texmf/tex//" unless $TEXINPUTS; +$TEXINPUTS=".:/usr/share/texmf/tex//" unless $TEXINPUTS; # Location for BibTeX Bibliography databases # $BIBINPUTS is read from the environment if not explicitly supplied $BIBINPUTS=$ENV{'BIBINPUTS'} unless $BIBINPUTS; -$BIBINPUTS=".:/usr/local/lib/texmf/bibtex/bib/" unless $BIBINPUTS; +$BIBINPUTS=".:/usr/share/texmf/bibtex/bib/" unless $BIBINPUTS; # Location for BibTeX Bibliography styles (in addition to $TEXINPUTS) # $BSTINPUTS is read from the environment if not explicitly supplied $BSTINPUTS=$ENV{'BSTINPUTS'} unless $BSTINPUTS; -$BSTINPUTS="/usr/local/lib/texmf/bibtex/bst/" unless $BSTINPUTS; +$BSTINPUTS="/usr/share/texmf/bibtex/bst/" unless $BSTINPUTS; # The lowest sectioning command at which to create segments # corresponds to -l option |