From 31fa00d451306e6a9bcaf14a953dbb88ff30c507 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Mon, 1 May 2017 17:43:29 +0900 Subject: add basic files --- update.sh | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 update.sh (limited to 'update.sh') diff --git a/update.sh b/update.sh new file mode 100644 index 00000000..fbdaf970 --- /dev/null +++ b/update.sh @@ -0,0 +1,32 @@ +#!/bin/bash +# (c) 2016-2017 Norbert Preining +# License: GPLv3+ +# +# USAGE: +# call this script with the two envvars below set to proper values +# eg: +# TLCHECKOUT=/path/to/tl/svn/checkout TLNETDEST=/path/to/created/repo update.sh +# at the moment the generated repository in TLCHECKOUT is *not* signed +# due to the --no-sign option. You would need the TL distribtuion key +# to sign. But you can sign with a different key and tell the users to +# use tlmgr key add etc, see manual. + +TLCHECKOUT=${TLCHECKOUT:-/home/norbert/Development/TeX/texlive.git} +TLNETDEST=${TLNETDEST:-/home/norbert/Domains/preining.info/www/tl-nonfree} + +# we don't do TeX Catalogue updates +unset TEX_CATALOGUE + +# update tlpdb +$TLCHECKOUT/Master/tlpkg/bin/tl-update-tlpdb \ + -with-w32-pattern-warning -from-files -no-reverse-revision-check \ + --keep-revisions --master=`pwd` + +$TLCHECKOUT/Master/tlpkg/bin/tl-update-containers \ + -master `pwd` \ + -location $TLNETDEST \ + -gpgcmd `pwd`/tl-sign-file \ + -all -recreate + +# sometimes -recreate might be necessary to fully rebuild! + -- cgit v1.2.3