* add pardus-1.0 by default
This commit is contained in:
@@ -787,8 +787,8 @@ NB: We support only local files (e.g., /a/b/c) and http:// URIs at the moment
|
|||||||
name = self.args[0]
|
name = self.args[0]
|
||||||
indexuri = self.args[1]
|
indexuri = self.args[1]
|
||||||
else:
|
else:
|
||||||
name = 'pardus-devel'
|
name = 'pardus-1.0'
|
||||||
indexuri = 'http://paketler.uludag.org.tr/pardus-devel/pisi-index.xml'
|
indexuri = 'http://paketler.uludag.org.tr/pardus-1.0/pisi-index.xml'
|
||||||
pisi.api.add_repo(name, indexuri)
|
pisi.api.add_repo(name, indexuri)
|
||||||
if ctx.ui.confirm(_('Update PISI database for repository %s?') % name):
|
if ctx.ui.confirm(_('Update PISI database for repository %s?') % name):
|
||||||
pisi.api.update_repo(name)
|
pisi.api.update_repo(name)
|
||||||
|
|||||||
Reference in New Issue
Block a user