From 100970b35ed77a8f617a7071aba2618e038923ba Mon Sep 17 00:00:00 2001 From: Joshua Haase Date: Mon, 7 Feb 2011 16:51:06 -0800 Subject: Use free repo on new location --- pato2.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pato2.py b/pato2.py index cf40809..9cbd3cb 100644 --- a/pato2.py +++ b/pato2.py @@ -40,6 +40,7 @@ mirrorpath = "::mirrors/archlinux" # Directories and files ## Optionals path = home + "/parabolagnulinux.org" +free_path = path + "/free/" docs = path + "/docs" logdir = path + "/log" ## Must be defined @@ -56,7 +57,7 @@ other = ("any",) # Output output = True -verbose = False +verbose = True # Files blacklist = docs + "/blacklist.txt" @@ -180,11 +181,11 @@ def add_free_repo(verbose_=verbose): for repo_ in repo_list: for arch_ in arch_list: lista_=list() - for file_ in glob(repodir + "/free/" + repo_ + "/os/" + arch_ + "/*"): + for file_ in glob(free_path + repo_ + "/os/" + arch_ + "/*"): lista_.append(file_) link(repo_,arch_,file_) for dir_ in other: - for file_ in glob(repodir + "/free/" + repo_ + "/os/" + dir_ + "/*"): + for file_ in glob(free_path + repo_ + "/os/" + dir_ + "/*"): lista_.append(file_) link(repo_,arch_,file_) if lista_: -- cgit v1.2.3