summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorParabola <parabolavnx@lions.dreamhost.com>2011-01-31 09:15:56 -0800
committerParabola <parabolavnx@lions.dreamhost.com>2011-01-31 09:15:56 -0800
commitb8619985289cde1591aa40c7df2c948fdbb8c30a (patch)
treeea9fd38bd32361e7f06168ab3d2c7104a9af4496
parent473de5be358e3bc1c0c490622e9b2c47d2bfbdf5 (diff)
changed mirror
-rw-r--r--pato2.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/pato2.py b/pato2.py
index 78d8c55..cf40809 100644
--- a/pato2.py
+++ b/pato2.py
@@ -34,7 +34,7 @@ from os.path import isdir, isfile, realpath
time__ = commands.getoutput("date +%Y%m%d-%H:%M")
# Mirror Parameters
-mirror = "mirrors.kernel.org"
+mirror = "mirrors.eu.kernel.org"
mirrorpath = "::mirrors/archlinux"
# Directories and files
@@ -49,7 +49,7 @@ tmp = home + "/tmp"
archdb = tmp + "/db"
# Repo, arch, and other folders to use for repo
-repo_list = ("core", "extra", "community","multilib")
+repo_list = ("core", "extra", "community", "testing", "community-testing", "multilib")
dir_list = ("pool","sources")
arch_list = ("i686", "x86_64")
other = ("any",)
@@ -90,7 +90,7 @@ def packages(repo_, arch_, expr="*"):
def sync_all_repo(verbose_=verbose):
folders = ",".join(repo_list + dir_list)
- cmd_ = "rsync -av --delete-after --delay-updates " + mirror + mirrorpath + "/{" + folders + "} " + repodir
+ cmd_ = "rsync -av --progress --delete-after --delay-updates " + mirror + mirrorpath + "/{" + folders + "} " + repodir
printf(cmd_)
a=commands.getoutput(cmd_)
if verbose_: printf(a)