summaryrefslogtreecommitdiff
path: root/pkgmk.in
diff options
context:
space:
mode:
Diffstat (limited to 'pkgmk.in')
-rwxr-xr-xpkgmk.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgmk.in b/pkgmk.in
index 9c1d95a0..6ee685fc 100755
--- a/pkgmk.in
+++ b/pkgmk.in
@@ -549,8 +549,8 @@ build_package() {
case $PKGMK_COMPRESSION_MODE in
gz) COMPRESSION="-z" ;;
- bz2) COMPRESSION="-j" ;;
xz) COMPRESSION="-J" ;;
+ lz) COMPRESSION="--lzip" ;;
esac
bsdtar -c $COMPRESSION -f $TARGET * && bsdtar -t -v -f $TARGET
@@ -820,7 +820,7 @@ main() {
check_pkgfile
case $PKGMK_COMPRESSION_MODE in
- gz|bz2|xz)
+ gz|xz|lz)
TARGET="$PKGMK_PACKAGE_DIR/$name#$version-$release.pkg.tar.$PKGMK_COMPRESSION_MODE"
;;
*)

Generated by cgit