summaryrefslogtreecommitdiffstats
path: root/cron-jobs
diff options
context:
space:
mode:
authorFrançois Charette <francois@archlinux.org>2009-05-06 21:32:43 +0200
committerAaron Griffin <aaronmgriffin@gmail.com>2009-05-06 21:32:43 +0200
commit8e9a5b387a76f31796837e1000188d1152bd4b00 (patch)
tree249fe54b339ccbda62bdb6e885a9bc7c1227d39f /cron-jobs
parentdbca654de502b1a6fb925544256dcfc3b54cc623 (diff)
downloaddbscripts-8e9a5b387a76f31796837e1000188d1152bd4b00.tar.gz
dbscripts-8e9a5b387a76f31796837e1000188d1152bd4b00.tar.xz
check_packages.py: Add 'any' arch support
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Diffstat (limited to 'cron-jobs')
-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:"