CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
kbd: updated to 1.15.3 and aligned with upstream
[crossrootfs.git] / prt-get / prt-get.diff
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 }