diff options
author | Karl Berry <karl@freefriends.org> | 2019-11-09 17:42:02 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2019-11-09 17:42:02 +0000 |
commit | 24bb9e4fa5f638d0e535c4cdd8a87ea482b11490 (patch) | |
tree | c9a56adc5e720e310f37075914d9221c29a8f772 /Master/tlpkg/bin/tl-update-tlcritical | |
parent | 4885bb094e49e56658e15217cf9e143b0f6d14b3 (diff) |
TLUtils.pm (setup_programs): only use Data::Dumper if vv, not just v;
indent debug output lines.
(copy): ddebug of every copy is too much; but ddebug dereferencing.
TLPDB.pm (not_virtual_install_package): show container files instead of
meaningless array ref hex, and only if ddebug.
tl-try-install: placeholder for install-tl options.
tl-try-makeself: doc.
tl-update-nsis: remove tlpobj/ dir if we created it.
tl-update-tlcritical: new option --no-containers.
tltestnet: new convenience script for testing versioned containers.
git-svn-id: svn://tug.org/texlive/trunk@52706 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/bin/tl-update-tlcritical')
-rwxr-xr-x | Master/tlpkg/bin/tl-update-tlcritical | 22 |
1 files changed, 16 insertions, 6 deletions
diff --git a/Master/tlpkg/bin/tl-update-tlcritical b/Master/tlpkg/bin/tl-update-tlcritical index c67617e1155..d172d196369 100755 --- a/Master/tlpkg/bin/tl-update-tlcritical +++ b/Master/tlpkg/bin/tl-update-tlcritical @@ -2,9 +2,10 @@ # $Id$ # Public domain. Originally written 2008, Karl Berry. # Update the tlcritical mini-repository on tug with the critical -# packages. Also listed in tl-update-containers, unfortunately. +# packages. Listed both here and in TLConfig.pm, unfortunately. # Run from cron.tl. +opt_do_containers=true tlcrit=/home/ftp/texlive/tlcritical recreate= @@ -12,6 +13,7 @@ while test $# -gt 0; do case $1 in --tlcrit) shift; tlcrit=$1;; --recreate) recreate=--recreate;; + --no-containers) opt_do_containers=false;; --help) echo "Please read the script, sorry."; exit 0;; --*) echo "$0: unrecognized option: $1" >&2; exit 1;; *) echo "$0: too many arguments: $1" >&2; exit 1;; @@ -76,11 +78,18 @@ if test -n "$recreate"; then rm -rf $tlcrit/[^R]* # except README fi -# update normal containers. -echo "$0: running tl-update-containers (for critical packages)..." -tl-update-containers -location $tlcrit $recreate -all \ - 00texlive.installation 00texlive.config texlive.infra tlperl.win32 \ - $moredis +if $opt_do_containers; then + # update normal containers. + echo "$0: running tl-update-containers (for critical packages)..." + tl-update-containers -location $tlcrit $recreate -all \ + 00texlive.installation 00texlive.config texlive.infra tlperl.win32 \ + $moredis +else + # this is an option so that if the repository already contains + # up-to-date containers, e.g., a test setup, we don't recreate them. + # (See doc/packages.txt.) + echo "$0: skipping tl-update-containers." +fi # update Unix disaster recovery. echo "$0: running tl-makeself-from-tlnet $tlcrit..." @@ -94,4 +103,5 @@ makensis $TMPDIR/updater.nsi >$TMPDIR/makensis.log rm -f $TMPDIR/updater.nsi do_updater exe +echo $tlcrit: ls -lt $tlcrit |