support for unpacking *.tar.lzma files

This commit is contained in:
Natanael Copa 2008-11-11 14:12:18 +00:00
parent 29ddd2b93e
commit 92cb48ffc9

4
abuild
View File

@ -158,6 +158,10 @@ unpack() {
*.tar.bz2)
msg "Unpacking $s..."
tar -C "$srcdir" -jxf "$s" || return 1;;
*.tar.lzma)
msg "Unpacking $s..."
unlzma -c "$s" | tar -C "$srcdir" -x \
|| return 1;;
esac
done
}