Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Alexander_Naumov:SLE12
yast2-metapackage-handler
SLE.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File SLE.diff of Package yast2-metapackage-handler
Index: src/OneClickInstallWorkerFunctions.ycp =================================================================== --- src/OneClickInstallWorkerFunctions.ycp (revision 45871) +++ src/OneClickInstallWorkerFunctions.ycp (working copy) @@ -102,9 +102,9 @@ "alias":OneClickInstall::GetRepositoryName(new_url), "base_urls":[new_url] ]; - integer srcid = Pkg::RepositoryAdd(repoData); - boolean success = Pkg::SourceRefreshNow(srcid); - if (!success) + integer srcid = Pkg::SourceCreate(new_url,"/"); + //boolean success = Pkg::SourceRefreshNow(srcid); + if (srcid <0) { if (Popup::YesNo (_("An error occurred while initializing the software repository.") + "\n" + _("Details:") + "\n" + Pkg::LastError() + "\n" + _("Try again?"))) { @@ -272,4 +272,4 @@ return nil; } -} \ No newline at end of file +}
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor