From 11ab6ace58d1afb93761655c119060eeb9a88829 Mon Sep 17 00:00:00 2001 From: Sebastian 'Swift Geek' Grzywna Date: Wed, 4 Apr 2018 11:30:13 +0200 Subject: [PATCH] Fix data.tar.* archive extraction --- PKGBUILD | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index 40bdb2f..9304866 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -43,8 +43,10 @@ prepare() { [ -d data ] && rm -rf data mkdir data cd data - tar -xf ../data.tar.bz2 - tar -xf ../data.tar.xz + for datatar in ../data.tar.*; do + msg2 "Unpacking $datatar" + tar -xf $datatar + done } package() {