summaryrefslogtreecommitdiff
path: root/Master/tlpkg/bin
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
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')
-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