summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
Diffstat (limited to 'Master')
-rwxr-xr-xMaster/tlpkg/bin/tl-makeself-from-tlnet4
-rwxr-xr-xMaster/tlpkg/bin/tl-update-tlcritical11
2 files changed, 11 insertions, 4 deletions
diff --git a/Master/tlpkg/bin/tl-makeself-from-tlnet b/Master/tlpkg/bin/tl-makeself-from-tlnet
index 4700dae4e1e..c0380f359f2 100755
--- a/Master/tlpkg/bin/tl-makeself-from-tlnet
+++ b/Master/tlpkg/bin/tl-makeself-from-tlnet
@@ -79,7 +79,7 @@ else
# could be made more intelligent
echo "Cannot find root, please call the .run script with --noexec --keep and"
echo "then call the runme.sh script in the unpacked directory with the"
- echo "root as the first argument, i.e., someting like"
+ echo "root as the first argument, i.e., something like"
echo " sh runme.sh /your/path/to/the/texlive/installaton/2008"
exit 1
fi
@@ -92,7 +92,7 @@ chmod ugo+x runme.sh
cd $CWD
-makeself $TMP update-texlive.run "TeX Live Manager Updater" ./runme.sh
+makeself $TMP update-tlmgr.sh "TeX Live Manager Updater" ./runme.sh
rm -rf $TMP
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