Commit | Line | Data |
---|---|---|
a323066a VM |
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() | |
6 | ||
7 | string InstallTransaction::getPkgmkCompressionMode() | |
8 | { | |
9 | - return getPkgmkSetting("PKGMK_COMPRESSION_MODE"); | |
10 | + string value = getPkgmkSetting("PKGMK_COMPRESSION_MODE"); | |
11 | + | |
12 | + return value.size() ? value : "gz"; | |
13 | } |