headscale-bin: Fix package name references

Signed-off-by: Stefan Knoblich <stkn@bitplumber.de>
This commit is contained in:
2022-12-08 12:30:49 +01:00
parent 481625a8c1
commit d562e4728c
2 changed files with 3 additions and 2 deletions

View File

@@ -5,6 +5,7 @@ EAPI=8
inherit systemd
MY_PN="${PN/-bin/}"
DESCRIPTION="An open source, self-hosted implementation of the Tailscale control server"
HOMEPAGE="https://github.com/juanfont/headscale"
SRC_URI="https://github.com/juanfont/headscale/releases/download/v${PV}/headscale_${PV}_linux_amd64
@@ -40,7 +41,7 @@ src_install() {
systemd_dounit "${FILESDIR}"/headscale.service
newconfd "${FILESDIR}"/headscale.confd headscale
newinitd "${FILESDIR}"/headscale.initd headscale
fowners -R ${PN}:${PN} /etc/headscale /var/lib/headscale
fowners -R ${MY_PN}:${MY_PN} /etc/headscale /var/lib/headscale
}
pkg_postinst() {