welcome welcome :)
This commit is contained in:
@@ -1191,8 +1191,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-1.1'
|
name = 'pardus-2007'
|
||||||
indexuri = 'http://paketler.pardus.org.tr/pardus-1.1/pisi-index.xml.bz2'
|
indexuri = 'http://paketler.pardus.org.tr/pardus-2007/pisi-index.xml.bz2'
|
||||||
pisi.api.add_repo(name, indexuri, ctx.get_option('at'))
|
pisi.api.add_repo(name, indexuri, ctx.get_option('at'))
|
||||||
if ctx.ui.confirm(_('Update PiSi database for repository %s?') % name):
|
if ctx.ui.confirm(_('Update PiSi database for repository %s?') % name):
|
||||||
try:
|
try:
|
||||||
|
|||||||
+1
-1
@@ -60,7 +60,7 @@ class GeneralDefaults:
|
|||||||
destinationdirectory = "/"
|
destinationdirectory = "/"
|
||||||
autoclean = False
|
autoclean = False
|
||||||
distribution = "Pardus"
|
distribution = "Pardus"
|
||||||
distribution_release = "1.1"
|
distribution_release = "2007"
|
||||||
http_proxy = os.getenv("HTTP_PROXY") or None
|
http_proxy = os.getenv("HTTP_PROXY") or None
|
||||||
https_proxy = os.getenv("HTTPS_PROXY") or None
|
https_proxy = os.getenv("HTTPS_PROXY") or None
|
||||||
ftp_proxy = os.getenv("FTP_PROXY") or None
|
ftp_proxy = os.getenv("FTP_PROXY") or None
|
||||||
|
|||||||
Reference in New Issue
Block a user