fix templates for other distros than groovy (fix #47)