summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Haase <hahj87@gmail.com>2011-02-07 16:51:06 -0800
committerParabola <parabolavnx@lions.dreamhost.com>2011-02-07 16:52:31 -0800
commit100970b35ed77a8f617a7071aba2618e038923ba (patch)
treeb2e335aa2f6214a69299cb51febda125f8d36c48
parentb8619985289cde1591aa40c7df2c948fdbb8c30a (diff)
Use free repo on new location
-rw-r--r--pato2.py7
1 files 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_: