Clone from abrgr in preinstall script.