summaryrefslogtreecommitdiff
path: root/Master/tlpkg/bin/tltestnet
blob: 75ab0544addeee4242579006909a03d029e3c608 (plain)
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
#!/bin/sh
# $Id$
# Public domain.  Originally written 2019, Karl Berry.
# Run an update of tlnet, but in a test directory.

testnet=/home/texlive/tstftp/tstlive/tstnet
# the subdirectories there are necessary because we make the trial
# directories two levels up. Imagine tstftp = ~ftp, tstlive = ~ftp/texlive.

fast=true
if $fast; then
  scheme=minimal
  install_pkg=--no-install-pkg
  consistency=--no-consistency
else
  scheme=full
  install_pkg=
  consistency=
fi

# We assume the texlive.tlpdb file is up to date. It could be rebuilt
# with the command here, but it's usually not desirable, because with
# --fix-reverse updates can get committed, and without it, the result
# may not be consistent.
# 
#catup= #--catalogue-compare=$tlnet_dir
#./tlpkg/bin/tl-update-tlpdb -v --fix-reverse-revisions $catup

# run out of PATH, not the reference tree.
tl-update-tlnet --dest $testnet --scheme $scheme $install_pkg $consistency