summaryrefslogtreecommitdiffstats
path: root/prt-get/prt-get.diff
diff options
context:
space:
mode:
Diffstat (limited to 'prt-get/prt-get.diff')
-rw-r--r--prt-get/prt-get.diff13
1 files changed, 13 insertions, 0 deletions
diff --git a/prt-get/prt-get.diff b/prt-get/prt-get.diff
new file mode 100644
index 000000000..f5412dfcd
--- /dev/null
+++ b/prt-get/prt-get.diff
@@ -0,0 +1,13 @@
+diff --git a/src/installtransaction.cpp b/src/installtransaction.cpp
+index 849931a..70e5e37 100644
+--- a/src/installtransaction.cpp
++++ b/src/installtransaction.cpp
+@@ -658,5 +658,7 @@ string InstallTransaction::getPkgmkPackageDir()
+
+ string InstallTransaction::getPkgmkCompressionMode()
+ {
+- return getPkgmkSetting("PKGMK_COMPRESSION_MODE");
++ string value = getPkgmkSetting("PKGMK_COMPRESSION_MODE");
++
++ return value.size() ? value : "gz";
+ }