summaryrefslogtreecommitdiff
path: root/update.sh
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2018-02-13 10:11:11 +0900
committerNorbert Preining <norbert@preining.info>2018-02-13 10:11:11 +0900
commit06aa4bfd3f6e772454ecadff010fa7484c0d2edd (patch)
tree20a0889e9927f2d3f874c2e89b545e6ff655d75f /update.sh
parenta612b24fb4073ba73f43fcec4d86e4cc04e659a8 (diff)
use TL's tl-sign-file and env vars for signing
Diffstat (limited to 'update.sh')
-rwxr-xr-xupdate.sh8
1 files changed, 6 insertions, 2 deletions
diff --git a/update.sh b/update.sh
index 27a1c366..df83b4e6 100755
--- a/update.sh
+++ b/update.sh
@@ -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