Add custom preinstall bash hook