{
#include <sys/utsname.h>
#include <unistd.h>
-#include <satsolver/satversion.h>
+#include <solv/satversion.h>
}
#include <iostream>
#include <fstream>
, download_use_deltarpm ( true )
, download_use_deltarpm_always ( false )
, download_media_prefer_download( true )
- , download_max_concurrent_connections( 2 )
+ , download_max_concurrent_connections( 5 )
, download_min_download_speed ( 0 )
, download_max_download_speed ( 0 )
, download_max_silent_tries ( 5 )
, solver_upgradeTestcasesToKeep ( 2 )
, solverUpgradeRemoveDroppedPackages( true )
, apply_locks_file ( true )
-
+ , pluginsPath ( "/usr/lib/zypp/plugins" )
{
MIL << "libzypp: " << VERSION << " built " << __DATE__ << " " << __TIME__ << endl;
// override_r has higest prio
Pathname cfg_config_path;
Pathname cfg_known_repos_path;
Pathname cfg_known_services_path;
+
Pathname cfg_vendor_path;
Pathname locks_file;
Pathname history_log_path;
Pathname credentials_global_dir_path;
Pathname credentials_global_file_path;
+
+ Option<Pathname> pluginsPath;
};
///////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////
std::string ZConfig::distroverpkg() const
- {
- if ( PathInfo(ZConfig::systemRoot() + "/etc/fedora-release").isExist() )
- return "fedora-release";
- return "redhat-release";
- }
+ { return "redhat-release"; }
+
+ ///////////////////////////////////////////////////////////////////
+
+ Pathname ZConfig::pluginsPath() const
+ { return _pimpl->pluginsPath.get(); }
///////////////////////////////////////////////////////////////////
{
str << "libzypp: " << VERSION << " built " << __DATE__ << " " << __TIME__ << endl;
- str << "satsolver: " << sat_version;
- if ( ::strcmp( sat_version, SATSOLVER_VERSION_STRING ) )
- str << " (built against " << SATSOLVER_VERSION_STRING << ")";
+ str << "libsolv: " << sat_version;
+ if ( ::strcmp( sat_version, LIBSOLV_VERSION_STRING ) )
+ str << " (built against " << LIBSOLV_VERSION_STRING << ")";
str << endl;
str << "zypp.conf: '" << _pimpl->_parsedZyppConf << "'" << endl;