summaryrefslogtreecommitdiff
path: root/Master/tlpkg/bin/tl-update-tlcritical
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2008-10-25 20:31:32 +0000
committerKarl Berry <karl@freefriends.org>2008-10-25 20:31:32 +0000
commit2764d9ecb489f9132454f7cff77fb18f05c26ff7 (patch)
tree0036d012f8089ec150cc77cc9d8538117409d306 /Master/tlpkg/bin/tl-update-tlcritical
parenta69e3c69ff0fbe4eee2457f83975abd9ea09ac67 (diff)
also update the updater executable.
git-svn-id: svn://tug.org/texlive/trunk@11056 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/bin/tl-update-tlcritical')
-rwxr-xr-xMaster/tlpkg/bin/tl-update-tlcritical12
1 files changed, 10 insertions, 2 deletions
diff --git a/Master/tlpkg/bin/tl-update-tlcritical b/Master/tlpkg/bin/tl-update-tlcritical
index 9c297c84cd1..3e0247fbb7d 100755
--- a/Master/tlpkg/bin/tl-update-tlcritical
+++ b/Master/tlpkg/bin/tl-update-tlcritical
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/sh -e
# $Id$
# Public domain. Originally written 2008, Karl Berry.
# Update the tlcritical mini-repository on tug with the critical
@@ -9,6 +9,14 @@ Master=`cd $mydir/../.. && pwd`
tlcrit=/home/ftp/texlive/tlcritical
-exec $Master/tlpkg/bin/tl-update-containers \
+# update normal containers.
+$Master/tlpkg/bin/tl-update-containers \
-location $tlcrit -all \
00texlive-installation.config 00texlive.config bin-texlive texlive.infra
+
+# update the Windows updater executable.
+$Master/tlpkg/bin/tl-update-nsis >updater.nsi
+makensis updater.nsi >/tmp/makensis.log
+rm -f $tlcrit/update-*.exe updater.nsi
+mv -v update-*.exe $tlcrit
+(cd $tlcrit && ln -sv update-*.exe update-tlmgr-latest.exe)