support for unpacking *.tar.lzma files
This commit is contained in:
parent
29ddd2b93e
commit
92cb48ffc9
4
abuild
4
abuild
@ -158,6 +158,10 @@ unpack() {
|
|||||||
*.tar.bz2)
|
*.tar.bz2)
|
||||||
msg "Unpacking $s..."
|
msg "Unpacking $s..."
|
||||||
tar -C "$srcdir" -jxf "$s" || return 1;;
|
tar -C "$srcdir" -jxf "$s" || return 1;;
|
||||||
|
*.tar.lzma)
|
||||||
|
msg "Unpacking $s..."
|
||||||
|
unlzma -c "$s" | tar -C "$srcdir" -x \
|
||||||
|
|| return 1;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user