From 439ab2451f1f435aac7aba12f0a20d07e479072a Mon Sep 17 00:00:00 2001 From: thierry Date: Thu, 26 Feb 2009 14:40:13 +0000 Subject: [PATCH] update --- scripts/alpha-repo.py | 7 ++++++- scripts/renew_reminder.pl | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/scripts/alpha-repo.py b/scripts/alpha-repo.py index cf23223..c4fef59 100755 --- a/scripts/alpha-repo.py +++ b/scripts/alpha-repo.py @@ -1,5 +1,5 @@ #!/usr/bin/python - +# $Id$ # expected argument is a URL on build.onelab.eu # this would then update the alpha node repo from that place # NOTE @@ -33,6 +33,7 @@ def prompt (question,default=True): except: raise +########## def run (command,options,force=False): if ( force or not options.dry_run): print 'Running',command @@ -113,6 +114,10 @@ def main (): if prompt ('Need to fetch rpms from %s ' % http): rsync_xfer(http,repo,options) + if prompt ('Install yumgroups'): + command="mv %s/xfer/RPMS/yumgroups.xml %s/"%(repo,repo) + run(command,options) + if prompt ('Get list of standard rpms from %s ' % standard): rpm_names=extract_contents(standard) diff --git a/scripts/renew_reminder.pl b/scripts/renew_reminder.pl index bef7bd1..aaa7068 100755 --- a/scripts/renew_reminder.pl +++ b/scripts/renew_reminder.pl @@ -8,7 +8,7 @@ # Mark Huang # Copyright (C) 2005 The Trustees of Princeton University # -# $Id: renew_reminder.pl,v 1.1 2005/06/28 16:49:12 mlhuang Exp $ +# $Id$ # use strict; -- 2.45.2