From f780859b76263638b9227122e465b0c629c7ca3e Mon Sep 17 00:00:00 2001 From: Petr Mladek Date: Fri, 13 Apr 2012 16:20:55 +0200 Subject: unpack-sources, download: update for .xz source tarballs --- download | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'download') diff --git a/download b/download index e5aad884e841..4476fef54880 100755 --- a/download +++ b/download @@ -183,17 +183,17 @@ if [ "$COM" = "MSC" ]; then downloaditem "http://download.microsoft.com/download/a/b/c/abc45517-97a0-4cee-a362-1957be2f24e1/" "WindowsXP-KB975337-x86-ENU.exe" "946d00d87e4094f3a6e425e2d538eadd" fi -if [ -f $start_dir/bootstrap.ver -a ! -d $start_dir/.git ] ; then - # bootstrap is from sources, so get the other source tarballs - . $start_dir/bootstrap.ver +if [ -f $start_dir/core.ver -a ! -d $start_dir/.git ] ; then + # core is from sources, so get the other source tarballs + . $start_dir/core.ver lo_src_dir="$start_dir/src" mkdir -p "$lo_src_dir" for piece in `cat $start_dir/bin/repo-list` ; do - tarname="libreoffice-$piece-$lo_bootstrap_ver" - if [ ! -f "$TARFILE_LOCATION/$tarname.tar.bz2" ] ; then - downloaditem "http://download.documentfoundation.org/libreoffice/src/" "$tarname.tar.bz2" "" + tarname="libreoffice-$piece-$lo_core_ver" + if [ ! -f "$TARFILE_LOCATION/$tarname.tar.xz" ] ; then + downloaditem "http://download.documentfoundation.org/libreoffice/src/" "$tarname.tar.xz" "" fi - $start_dir/bin/unpack-sources $start_dir $TARFILE_LOCATION/$tarname.tar.bz2 + $start_dir/bin/unpack-sources $start_dir $TARFILE_LOCATION/$tarname.tar.xz done fi -- cgit