[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[tyndur-devel] [PATCH] lutils: tar.xz entpacken
* lutils.sh entpackt jetzt auch xz Dateien (installiertes xz utility
vorausgesetzt)
Signed-off-by: Stefan Linke <particleflux@xxxxxxxxx>
---
lclasses/lutils.sh | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/lclasses/lutils.sh b/lclasses/lutils.sh
index a2b2258..5709cb5 100644
--- a/lclasses/lutils.sh
+++ b/lclasses/lutils.sh
@@ -92,6 +92,10 @@ lunpack() {
tar -xjf ${fn}
;;
+ *.tar.xz)
+ tar -xJf ${fn}
+ ;;
+
*.tar.lzma)
lzma -dc ${fn} | tar -x
;;
--
1.8.4.4