diff --git a/zypp/RepoManager.cc b/zypp/RepoManager.cc index a6b7f34d66..c0ec14b2ae 100644 --- a/zypp/RepoManager.cc +++ b/zypp/RepoManager.cc @@ -449,7 +449,7 @@ namespace zypp scoped_ptr forPlainDirs; ExternalProgram::Arguments cmd; - cmd.push_back( PathInfo( "/usr/bin/repo2solv" ).isFile() ? "repo2solv" : "repo2solv.sh" ); + cmd.push_back( "repo2solv" ); // repo2solv expects -o as 1st arg! cmd.push_back( "-o" ); cmd.push_back( solvfile.asString() );