summaryrefslogtreecommitdiff
path: root/Master/tlpkg
diff options
context:
space:
mode:
Diffstat (limited to 'Master/tlpkg')
-rwxr-xr-xMaster/tlpkg/bin/tl-update-bindir17
1 files changed, 13 insertions, 4 deletions
diff --git a/Master/tlpkg/bin/tl-update-bindir b/Master/tlpkg/bin/tl-update-bindir
index 12bbd904336..98a1e46b86f 100755
--- a/Master/tlpkg/bin/tl-update-bindir
+++ b/Master/tlpkg/bin/tl-update-bindir
@@ -110,6 +110,11 @@ for tlname in $tlnames; do
default_bin_loc=$download_loc
grab="$download -O $download_loc"
$grab ftp://ftp.cea.fr/incoming/y2k01/braslau/x86_64-unknown-kfreebsd9.0-gnu.tar.xz;;
+ amd64-netbsd)
+ download_loc=$tmpdir/tl.$tlname.tar.xz
+ default_bin_loc=$download_loc
+ grab="$download -O $download_loc"
+ $grab http://www.babafou.eu.org/texlive-netbsd/x86_64-unknown-netbsd6.0.1.tar.xz;;
armel-linux)
download_loc=$tmpdir/tl.$tlname.tar.xz
default_bin_loc=$download_loc
@@ -119,7 +124,7 @@ for tlname in $tlnames; do
download_loc=$tmpdir/tl.$tlname.tar.xz
default_bin_loc=$download_loc
grab="$download -O $download_loc"
- $grab http://getthingsfixed.co.uk/texlive/raspberrypi/20130417/texlive-asy-armhf.tar.gz;;
+ $grab http://getthingsfixed.co.uk/texlive/build_1304/texlive-armhf.tar.gz;;
hppa-hpux)
default_bin_loc=$download_loc
$grab http://www.jtartlabs.com/test/hppa2.0-hp-hpux10.20.tar.gz;;
@@ -142,7 +147,7 @@ for tlname in $tlnames; do
download_loc=$tmpdir/tl.$tlname.tar.xz
default_bin_loc=$download_loc
grab="$download -O $download_loc"
- $grab http://salmi.ch/~jukka/TL2011/TL2011bin_i386-netbsd.tar.xz;;
+ $grab http://www.babafou.eu.org/texlive-netbsd/i386-unknown-netbsdelf6.0.1.tar.xz;;
i386-openbsd)
default_bin_loc=$download_loc
$grab http://students.dec.bmth.ac.uk/ebarrett/files/tl-bin-20080810.tgz;;
@@ -155,7 +160,7 @@ for tlname in $tlnames; do
download_loc=$tmpdir/tl.$tlname.tar.xz
default_bin_loc=$download_loc
grab="$download -O $download_loc"
- $grab http://www.solid.ethz.ch/download/texlive/texlive-bin-mips-irix.tar.xz;;
+ $grab http://www.solid.ethz.ch/download/texlive/texlive-mips-irix.tar.xz;;
mipsel-linux)
download_loc=$tmpdir/tl.$tlname.tar.xz
default_bin_loc=$download_loc
@@ -200,6 +205,7 @@ for tlname in $tlnames; do
fi
$msg "installing from $bin_loc to $destdir via $tmpdir"
+ ls -l "$bin_loc"
# if we were given a tar file, unpack it.
if test -f "$bin_loc"; then
@@ -219,11 +225,14 @@ for tlname in $tlnames; do
exit 1
fi
+ # in case people mistakenly include .svn dirs in their tars.
+ find "$srcdir" -name .svn | xargs rm -rf
+
# may need to cd into a subdirectory, depending on how the tar was made.
test "`ls $srcdir`" != bin || srcdir=$srcdir/bin
test `ls $srcdir | wc -l` != 1 || srcdir=$srcdir/*
- # state of things. srcdir is full of the new binaries.
+ # destdir is what is in the repo now, srcdir has the new binaries.
(cd $destdir && ls) >$tmpdir/now
(cd $srcdir && ls) >$tmpdir/new