21 Jun
2007
21 Jun
'07
06:25
Duncan Mac-Vicar wrote:
On Wednesday 20 June 2007 13:27, Jan Kupec wrote:
RepoManager manager; RepoInfo repo = manager.getRepoInfo(alias); repo.setAlias(new_alias); repo.setEnabled(false); repo.removeMirror(url); // whatever manager.modifyRepository(alias, repo);
I like this one. However, no need to pass the alias, as it should be in the repoinfo itself (??)
not for the case where you want to rename it :O) j. -- To unsubscribe, e-mail: zypp-devel+unsubscribe@opensuse.org For additional commands, e-mail: zypp-devel+help@opensuse.org