fixup rb.postinstall linktree for use with --force
This commit is contained in:
parent
17e5f9e19a
commit
954af31c76
@ -114,7 +114,9 @@ class RuntimeBuilder(object):
|
|||||||
'''Do some post-install setup work with runtime-postinstall.tmpl'''
|
'''Do some post-install setup work with runtime-postinstall.tmpl'''
|
||||||
# link configdir into runtime root beforehand
|
# link configdir into runtime root beforehand
|
||||||
configdir_path = "tmp/config_files"
|
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)
|
self.runtemplate("runtime-postinstall.tmpl", configdir=configdir_path)
|
||||||
|
|
||||||
def cleanup(self):
|
def cleanup(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user