summaryrefslogtreecommitdiff
path: root/Master/tlpkg/bin/tl-update-bindir
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-06-11 23:54:35 +0000
committerKarl Berry <karl@freefriends.org>2009-06-11 23:54:35 +0000
commit0932da59a38db95a342a20e981bed2ee6c661763 (patch)
treed1dd400f65b371f051605bfaafe53a7d080f099d /Master/tlpkg/bin/tl-update-bindir
parent4d3dd9fc14c3ebb0b60193d8ce095d890d7631f1 (diff)
tl09 w32 binaries from akira
git-svn-id: svn://tug.org/texlive/trunk@13719 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/bin/tl-update-bindir')
-rwxr-xr-xMaster/tlpkg/bin/tl-update-bindir17
1 files changed, 11 insertions, 6 deletions
diff --git a/Master/tlpkg/bin/tl-update-bindir b/Master/tlpkg/bin/tl-update-bindir
index a5cb2acf5a3..433cb62a026 100755
--- a/Master/tlpkg/bin/tl-update-bindir
+++ b/Master/tlpkg/bin/tl-update-bindir
@@ -122,6 +122,10 @@ for tlname in $tlnames; do
$download http://www.uoregon.edu/~koch/$tlname.tar.gz -O $default_bin_loc;;
powerpc-linux)
default_bin_loc=/home/tschmitz/powerpc-linux.tar.bz2;;
+ win32)
+ default_bin_loc=${TMPDIR-$tmpdir}/tl.$tlname.zip
+ #$download http://members2.jcom.home.ne.jp/wt1357ak/tl2009w32-02.zip -O $default_bin_loc;;
+ ;;
x86_64-linux)
default_bin_loc=$download_loc
$download http://www.bibles.org.uk/x86_64/x86_64-linux-gnu.tar.gz -O $default_bin_loc;;
@@ -143,12 +147,11 @@ for tlname in $tlnames; do
if test -f "$bin_loc"; then
srcdir=$tmpdir/unpacked
mkdir $srcdir
- if echo "$bin_loc" | grep 'lzma$' >/dev/null; then
- lzma=--lzma # tar xf doesn't quite know lzma yet
+ if echo "$bin_loc" | grep 'zip$' >/dev/null; then
+ (cd $srcdir && unzip -q $bin_loc) || exit 1
else
- lzma=
+ (cd $srcdir && tar xf $bin_loc) || exit 1
fi
- (cd $srcdir && tar xf $bin_loc $lzma) || exit 1
elif test -d "$bin_loc"; then
srcdir=$bin_loc # already have a directory
@@ -169,8 +172,10 @@ for tlname in $tlnames; do
ourdel=$tmpdir/2del
ouradd=$tmpdir/2add
- # looking for deletions, but don't delete asy or xasy:
- comm -23 $tmpdir/now $tmpdir/new | egrep -v '^x?asy$' >$ourdel
+ # looking for deletions, but don't delete asy or xasy, or cache+conf
+ # for w32.
+ comm -23 $tmpdir/now $tmpdir/new \
+ | egrep -v '^(x?asy|cache|conf)$' >$ourdel
comm -13 $tmpdir/now $tmpdir/new >$ouradd # looking for additions
# get symlink list.