|
wget -q --header="Accept: application/vnd.github.VERSION.raw" https://"$_github_api_url"/repos/thinger-io/"$_repo"/contents/install/systemd/"$_module".template?ref="$version" -P "$service_dir" -O "$service_dir"/"$_module".template |
The installer download the last version of the service, but if a version is passed it should download the service from the branch