mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-20 04:23:16 -04:00
net-proxy/dnss: Fixed systemd path
Signed-off-by: Theron York <theron.york@cloudnuke.org>
This commit is contained in:
@@ -35,7 +35,7 @@ src_install() {
|
||||
# Install example config (dnss.conf is in the root of S)
|
||||
if [[ -f "${S}/dnss.conf" ]]; then
|
||||
insinto /etc
|
||||
newins "${S}/dnss.conf" dnss.conf.example
|
||||
newins "${S}/pkg/aur/systemd/dnss.conf" dnss.conf.example
|
||||
elog "Installed example config as /etc/dnss.conf.example"
|
||||
else
|
||||
ewarn "dnss.conf not found in ${S}"
|
||||
|
||||
@@ -35,7 +35,7 @@ src_install() {
|
||||
newins dnss.conf dnss.conf.example
|
||||
fi
|
||||
|
||||
if use systemd && [[ -f dnss.service ]]; then
|
||||
if use systemd && [[ -f pkg/aur/systemd/dnss.service ]]; then
|
||||
systemd_dounit dnss.service
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user