[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
r794 - in /crosshurd/trunk: debian/changelog functions
From: |
sthibault |
Subject: |
r794 - in /crosshurd/trunk: debian/changelog functions |
Date: |
Thu, 01 May 2014 21:41:48 -0000 |
Author: sthibault
Date: Thu May 1 21:41:48 2014
New Revision: 794
URL: http://svn.debian.org/wsvn/pkg-hurd/crosshurd/?sc=1&rev=794
Log:
Support xz-compressed packages.
Modified:
crosshurd/trunk/debian/changelog
crosshurd/trunk/functions
Modified: crosshurd/trunk/debian/changelog
URL:
http://svn.debian.org/wsvn/pkg-hurd/crosshurd/crosshurd/trunk/debian/changelog?rev=794&op=diff
==============================================================================
--- crosshurd/trunk/debian/changelog (original)
+++ crosshurd/trunk/debian/changelog Thu May 1 21:41:48 2014
@@ -1,5 +1,6 @@
crosshurd (1.7.45) UNRELEASED; urgency=medium
+ * Support xz-compressed packages.
* Also set APT::Architectures, to fix installation from a multiarch system.
* Bump kfreebsd kernel to 10 (Closes: Bug#746603).
Modified: crosshurd/trunk/functions
URL:
http://svn.debian.org/wsvn/pkg-hurd/crosshurd/crosshurd/trunk/functions?rev=794&op=diff
==============================================================================
--- crosshurd/trunk/functions (original)
+++ crosshurd/trunk/functions Thu May 1 21:41:48 2014
@@ -43,7 +43,12 @@
p="$(($p + 1))"
progress "$p" "$#" "Extracting packages"
info "Extracting $pkg..."
- ar -p ./$pkg data.tar.gz | zcat | tar -xf -
+ if ar -t ./$pkg | grep -q data.tar.gz
+ then
+ ar -p ./$pkg data.tar.gz | zcat | tar -xf -
+ else
+ ar -p ./$pkg data.tar.xz | xzcat | tar -xf -
+ fi
done
sync
); }
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- r794 - in /crosshurd/trunk: debian/changelog functions,
sthibault <=