summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrançois Charette <francois@archlinux.org>2009-05-06 12:32:43 -0700
committerAaron Griffin <aaronmgriffin@gmail.com>2009-05-06 12:32:43 -0700
commit8e9a5b387a76f31796837e1000188d1152bd4b00 (patch)
tree249fe54b339ccbda62bdb6e885a9bc7c1227d39f
parentdbca654de502b1a6fb925544256dcfc3b54cc623 (diff)
check_packages.py: Add 'any' arch support
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
-rwxr-xr-xcron-jobs/check_archlinux/check_packages.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cron-jobs/check_archlinux/check_packages.py b/cron-jobs/check_archlinux/check_packages.py
index 0392368..9bdd9c1 100755
--- a/cron-jobs/check_archlinux/check_packages.py
+++ b/cron-jobs/check_archlinux/check_packages.py
@@ -194,7 +194,7 @@ def get_repo_hierarchy(repo):
return ['core','extra','community']
def verify_archs(name,archs):
- valid_archs = ['i686', 'x86_64']
+ valid_archs = ['any', 'i686', 'x86_64']
invalid_archs = []
for arch in archs:
if arch not in valid_archs:
@@ -292,7 +292,7 @@ def print_usage():
print "Options:"
print " --abs-tree=<path> Check the specified tree (default : /var/abs)"
print " --repos=<r1,r2,...> Check the specified repos (default : core,extra)"
- print " --arch=<i686|x86_64> Check the specified arch (default : i686)"
+ print " --arch=<any|i686|x86_64> Check the specified arch (default : i686)"
print " -h, --help Show this help and exit"
print ""
print "Examples:"