CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
util-linux-ng: update to 2.19.1
[crossrootfs.git] / prt-get / prt-get.diff
CommitLineData
a323066a
VM
1diff --git a/src/installtransaction.cpp b/src/installtransaction.cpp
2index 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 }