1
0
mirror of https://codeberg.org/kiss-community/kiss synced 2024-11-04 14:05:41 -07:00

Merge branch 'master' of github.com:kisslinux/kiss into master

This commit is contained in:
Dylan Araps 2020-10-03 06:43:56 +03:00
commit ad1e56de0b

View File

@ -19,6 +19,8 @@ done < "$db/$pkg/manifest"
cd "$KISS_ROOT/" cd "$KISS_ROOT/"
dest="$OLDPWD/$pkg#$ver-$rel.tar.${KISS_COMPRESS:-gz}"
tar cf - "$@" | case ${KISS_COMPRESS:-gz} in tar cf - "$@" | case ${KISS_COMPRESS:-gz} in
bz2) bzip2 -z ;; bz2) bzip2 -z ;;
gz) gzip -6 ;; gz) gzip -6 ;;
@ -26,6 +28,6 @@ tar cf - "$@" | case ${KISS_COMPRESS:-gz} in
lz) lzip -z ;; lz) lzip -z ;;
xz) xz -zT 0 ;; xz) xz -zT 0 ;;
zst) zstd -z ;; zst) zstd -z ;;
esac > "$OLDPWD/$pkg#$ver-$rel.tar.${KISS_COMPRESS:-gz}" esac > "$dest"
printf 'created %s\n' "$OLDPWD/$pkg#$ver-$rel.tar.${KISS_COMPRESS:-gz}" printf 'created %s\n' "$dest"