1 diff --git a/src/installtransaction.cpp b/src/installtransaction.cpp
2 index 849931a..70e5e37 100644
3 --- a/src/installtransaction.cpp
4 +++ b/src/installtransaction.cpp
5 @@ -658,5 +658,7 @@ string InstallTransaction::getPkgmkPackageDir()
7 string InstallTransaction::getPkgmkCompressionMode()
9 - return getPkgmkSetting("PKGMK_COMPRESSION_MODE");
10 + string value = getPkgmkSetting("PKGMK_COMPRESSION_MODE");
12 + return value.size() ? value : "gz";