From 8d4b80e01e5da666099b820832a5eace65d042ed Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 31 Oct 2008 01:08:23 +0000 Subject: make Unix tlmgr disaster recovery archive, too git-svn-id: svn://tug.org/texlive/trunk@11136 c570f23f-e606-0410-a88d-b1316a301751 --- Master/tlpkg/bin/tl-makeself-from-tlnet | 4 ++-- Master/tlpkg/bin/tl-update-tlcritical | 11 +++++++++-- 2 files changed, 11 insertions(+), 4 deletions(-) (limited to 'Master') 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 -- cgit v1.2.3