blob: 359d3a3c0aa731f2e019d2b068eb02cd5c644a26 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
#!/bin/sh -e
# $Id$
# Public domain. Originally written 2008, Karl Berry.
# Update the tlcritical mini-repository on tug with the critical
# packages. Also listed in tl-update-containers, unfortunately.
mydir=`cd \`dirname $0\` && pwd`
Master=`cd $mydir/../.. && pwd`
cd ${TMPDIR-/tmp}
tlcrit=/home/ftp/texlive/tlcritical
# update normal containers.
$mydir/tl-update-containers -v \
-location $tlcrit -all \
00texlive-installation.config 00texlive.config bin-texlive texlive.infra
# update Unix disaster recovery.
$mydir/tl-makeself-from-tlnet $tlcrit
rm -f $tlcrit/update-*.sh
mv -v update-*.sh $tlcrit
#(cd $tlcrit && ln -sv update-*.sh update-tlmgr-latest.sh)
# update the Windows updater executable.
$mydir/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)
|