|
From: <di...@us...> - 2007-01-25 04:57:09
|
Revision: 291
http://safekeep.svn.sourceforge.net/safekeep/?rev=291&view=rev
Author: dimi
Date: 2007-01-24 20:57:07 -0800 (Wed, 24 Jan 2007)
Log Message:
-----------
Always nuke yum's cache of our repo, it's changing too fast and causes problems
Modified Paths:
--------------
safekeep/trunk/safekeep-test
Modified: safekeep/trunk/safekeep-test
===================================================================
--- safekeep/trunk/safekeep-test 2007-01-25 04:47:26 UTC (rev 290)
+++ safekeep/trunk/safekeep-test 2007-01-25 04:57:07 UTC (rev 291)
@@ -206,7 +206,7 @@
lattica_repo = '\n'.join([line.strip() for line in lattica_repo.splitlines()])
cmd = 'echo %s > /etc/yum.repos.d/lattica-development.repo' % (mkarg(lattica_repo).strip())
rcmd(cmd, 'root', host, 'install Lattica Repo')
- cmd = 'if rpm -q safekeep; then rm -rf /var/cache/yum/lattica-development/; yum update -y safekeep; else yum install -y safekeep; fi'
+ cmd = 'rm -rf /var/cache/yum/lattica-development/; if rpm -q safekeep; then yum update -y safekeep; else yum install -y safekeep; fi'
rcmd(cmd, 'root', host, 'install safekeep')
def createKey(user, host, keyname, comment):
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|