summaryrefslogtreecommitdiff
path: root/Master/tlpkg/bin/tl-update-tlcritical
blob: 5adb5277e8cf8379bf2bb4fa6da9834247b0c2fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/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`

tlcrit=/home/ftp/texlive/tlcritical

# update normal containers.
$Master/tlpkg/bin/tl-update-containers -v \
  -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)