Convert postinstall scripts to use loops and remove unneeded makeselfinst script for chefdk.