ti-pru-cgt-installer: cleanup to make it more generic

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>