Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
setup: fix generation of init templates (#4209)
if an init file ends in any of the letters [tmpl] these will be stripped in addition to the .tmpl extension. This is documented behaviour of the str.rstrip() method. This PR fixes it by using os.path.splitext() (rather than str.removesuffix which is only available in python 3.9+) Sponsored by: The FreeBSD Foundation * BSD*: render sysvinit scripts execubable
- Loading branch information