Kpm pack generate bash scripts

parent #327 
Warning?