add support for PKGMK_COMPRESSION_MODE
This commit is contained in:
parent
cf616df902
commit
418ed7c6b4
@ -347,7 +347,7 @@ InstallTransaction::installPackage( const Package* package,
|
||||
args +=
|
||||
package->name() + "#" +
|
||||
package->version() + "-" +
|
||||
package->release() + ".pkg.tar.gz";
|
||||
package->release() + ".pkg.tar." + getPkgmkCompressionMode();
|
||||
|
||||
|
||||
// - inform the user about what's happening
|
||||
@ -655,3 +655,8 @@ string InstallTransaction::getPkgmkPackageDir()
|
||||
{
|
||||
return getPkgmkSetting("PKGMK_PACKAGE_DIR");
|
||||
}
|
||||
|
||||
string InstallTransaction::getPkgmkCompressionMode()
|
||||
{
|
||||
return getPkgmkSetting("PKGMK_COMPRESSION_MODE");
|
||||
}
|
||||
|
@ -99,6 +99,7 @@ public:
|
||||
const list< pair<string, InstallInfo> >& installError() const;
|
||||
|
||||
static string getPkgmkPackageDir();
|
||||
static string getPkgmkCompressionMode();
|
||||
|
||||
private:
|
||||
bool calculateDependencies();
|
||||
|
Loading…
Reference in New Issue
Block a user