summaryrefslogtreecommitdiff
path: root/Master/tlpkg/bin/tl-update-tlcritical
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2008-10-31 01:08:23 +0000
committerKarl Berry <karl@freefriends.org>2008-10-31 01:08:23 +0000
commit8d4b80e01e5da666099b820832a5eace65d042ed (patch)
tree09c84137582231ac4da9f32fe36a86269fb490c1 /Master/tlpkg/bin/tl-update-tlcritical
parentcb01dcf66a69b2bd5e227e64a165be8ccb8a4ad2 (diff)
make Unix tlmgr disaster recovery archive, too
git-svn-id: svn://tug.org/texlive/trunk@11136 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/bin/tl-update-tlcritical')
-rwxr-xr-xMaster/tlpkg/bin/tl-update-tlcritical11
1 files changed, 9 insertions, 2 deletions
diff --git a/Master/tlpkg/bin/tl-update-tlcritical b/Master/tlpkg/bin/tl-update-tlcritical
index 5adb5277e8c..359d3a3c0aa 100755
--- a/Master/tlpkg/bin/tl-update-tlcritical
+++ b/Master/tlpkg/bin/tl-update-tlcritical
@@ -7,15 +7,22 @@
mydir=`cd \`dirname $0\` && pwd`
Master=`cd $mydir/../.. && pwd`
+cd ${TMPDIR-/tmp}
tlcrit=/home/ftp/texlive/tlcritical
# update normal containers.
-$Master/tlpkg/bin/tl-update-containers -v \
+$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.
-$Master/tlpkg/bin/tl-update-nsis >updater.nsi
+$mydir/tl-update-nsis >updater.nsi
makensis updater.nsi >/tmp/makensis.log
rm -f $tlcrit/update-*.exe updater.nsi
mv -v update-*.exe $tlcrit