diff options
author | Jose V Beneyto <sepen@crux.nu> | 2012-03-05 14:20:45 +0100 |
---|---|---|
committer | Juergen Daubert <jue@jue.li> | 2012-03-05 14:20:45 +0100 |
commit | 3088bb8def490ec685b5d9ff199d3dcecf6a83b6 (patch) | |
tree | 3640db3fc60f562065b7da18a2f38dc0d5930de5 | |
parent | 49009061e2f105d2b1eab449427081ca2fb9322f (diff) | |
download | prt-utils-3088bb8def490ec685b5d9ff199d3dcecf6a83b6.tar.gz prt-utils-3088bb8def490ec685b5d9ff199d3dcecf6a83b6.tar.xz |
prtwash: use compression-mode defined in pkgmk-conf
-rwxr-xr-x | prtwash | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -139,7 +139,9 @@ wash() { else tosave=() # array of files not to be deleted . "$1"/Pkgfile - packagename="$name"#"$version"-"$release"".pkg.tar.gz" + PKGMK_COMPRESSION_MODE="xz" + [ -f /etc/pkgmk.conf ] && . /etc/pkgmk.conf + packagename="$name"#"$version"-"$release"".pkg.tar.$PKGMK_COMPRESSION_MODE" if [ ! "$removesources" = 1 ]; then # keep sources |