From 5a993b26c76714f0810fdc7e3ae7bdc5eb1afd10 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Mon, 12 Feb 2018 14:44:00 +0900 Subject: update.sh: support -no-sign --- update.sh | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'update.sh') diff --git a/update.sh b/update.sh index 6738950a..27a1c366 100755 --- a/update.sh +++ b/update.sh @@ -1,5 +1,5 @@ #!/bin/bash -# (c) 2016-2017 Norbert Preining +# (c) 2016-2018 Norbert Preining # License: GPLv3+ # # USAGE: @@ -18,6 +18,12 @@ TLCATALOGUE=${TLCATALOGUE:-/home/norbert/Development/TeX/texcatalogue-svn} # we don't do TeX Catalogue updates #unset TEX_CATALOGUE +do_sign=true +if [ "$1" = "-no-sign" ] ; then + do_sign=false + shift +fi + do_tlpdb=false do_container=false do_collection=false @@ -70,11 +76,16 @@ if $do_tlpdb ; then --master=`pwd` fi +if $do_sign ; then + gpgcmd="-gpgcmd `pwd`/tl-sign-file" +else + gpgcmd=-no-sign +fi if $do_container ; then $TLCHECKOUT/Master/tlpkg/bin/tl-update-containers \ -master `pwd` \ -location $TLNETDEST \ - -gpgcmd `pwd`/tl-sign-file \ + $gpgcmd \ -all # sometimes we need -recreate grep ^name tlpkg/texlive.tlpdb | grep -v 00texlive | grep -v '\.' | awk '{print$2}' | sort > $TLNETDEST/packages.txt -- cgit v1.2.3