diff options
author | Norbert Preining <norbert@preining.info> | 2018-02-13 10:11:11 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2018-02-13 10:11:11 +0900 |
commit | 06aa4bfd3f6e772454ecadff010fa7484c0d2edd (patch) | |
tree | 20a0889e9927f2d3f874c2e89b545e6ff655d75f /update.sh | |
parent | a612b24fb4073ba73f43fcec4d86e4cc04e659a8 (diff) |
use TL's tl-sign-file and env vars for signing
Diffstat (limited to 'update.sh')
-rwxr-xr-x | update.sh | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -15,6 +15,9 @@ TLCHECKOUT=${TLCHECKOUT:-/home/norbert/Development/TeX/texlive.git} TLNETDEST=${TLNETDEST:-/home/norbert/Domains/server/texlive.info/contrib/2017} TLCATALOGUE=${TLCATALOGUE:-/home/norbert/Development/TeX/texcatalogue-svn} +# how to sign +export TL_GNUPGOPTS="--local-user 0xEC00B8DAD32266AA" + # we don't do TeX Catalogue updates #unset TEX_CATALOGUE @@ -76,16 +79,17 @@ if $do_tlpdb ; then --master=`pwd` fi + if $do_sign ; then - gpgcmd="-gpgcmd `pwd`/tl-sign-file" + gpgcmd= else gpgcmd=-no-sign fi if $do_container ; then $TLCHECKOUT/Master/tlpkg/bin/tl-update-containers \ -master `pwd` \ - -location $TLNETDEST \ $gpgcmd \ + -location $TLNETDEST \ -all # sometimes we need -recreate grep ^name tlpkg/texlive.tlpdb | grep -v 00texlive | grep -v '\.' | awk '{print$2}' | sort > $TLNETDEST/packages.txt |