fixup rb.postinstall linktree for use with --force

This commit is contained in:
Will Woods 2011-05-26 14:09:00 -04:00
parent 17e5f9e19a
commit 954af31c76

View File

@ -114,7 +114,9 @@ class RuntimeBuilder(object):
'''Do some post-install setup work with runtime-postinstall.tmpl'''
# link configdir into runtime root beforehand
configdir_path = "tmp/config_files"
linktree(configdir, join(self.vars.root, configdir_path))
fullpath = join(self.vars.root, configdir_path)
remove(fullpath)
linktree(configdir, fullpath)
self.runtemplate("runtime-postinstall.tmpl", configdir=configdir_path)
def cleanup(self):