'Change the install directories pointed by name using root.'

def change_roots(self, *names):

    for name in names:
        attr = ('install_' + name)
        setattr(self, attr, change_root(self.root, getattr(self, attr)))
