allow building without zstd
This commit is contained in:
parent
120954fb04
commit
79904a2018
1 changed files with 5 additions and 1 deletions
|
@ -191,7 +191,11 @@ _p() {
|
|||
cd "$srcdir"
|
||||
_genmeta > "$pkgdir/usr/share/iglupkg/$pkgname$cross"
|
||||
cd "$pkgdir"
|
||||
if command -V zstd; then
|
||||
tar --owner=0 --group=0 -cf ../$pkgname$cross.$pkgver.tar.zst * -I zstd
|
||||
else
|
||||
tar --owner=0 --group=0 -cf ../$pkgname$cross.$pkgver.tar *
|
||||
fi
|
||||
}
|
||||
|
||||
if [ -z "$to_run" ]; then
|
||||
|
|
Loading…
Reference in a new issue