headscale-bin: Fix package name references
Signed-off-by: Stefan Knoblich <stkn@bitplumber.de>
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user