aboutsummaryrefslogtreecommitdiffstats
path: root/avahi
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2017-05-13 12:30:08 +0200
committerGravatar Christian Hesse <mail@eworm.de>2017-05-13 12:30:08 +0200
commitcdbb05bf6a2864077f905cb96353e83f5b2b9ea8 (patch)
tree101768ce520c1c44f69e956f31b255d38f89cd5a /avahi
parent8667fb8d747569f83c48bb14f3410af652cd7b15 (diff)
downloadpacredir-cdbb05bf6a2864077f905cb96353e83f5b2b9ea8.tar.gz
pacredir-cdbb05bf6a2864077f905cb96353e83f5b2b9ea8.tar.zst
add distribution ID to avahi service names
Now that we have pacredir in official repositories... ArchLinux ARM will have the package as well, having package names (at least for 'any') clash. So add distribution ID to avahi service names. This is incompatible with pacredir < 0.2.3, so make sure to update all your installations.
Diffstat (limited to 'avahi')
-rw-r--r--avahi/pacdbserve.service.in2
-rw-r--r--avahi/pacserve.service.in (renamed from avahi/pacserve.service)2
2 files changed, 2 insertions, 2 deletions
diff --git a/avahi/pacdbserve.service.in b/avahi/pacdbserve.service.in
index ee6a9bb..106bc28 100644
--- a/avahi/pacdbserve.service.in
+++ b/avahi/pacdbserve.service.in
@@ -8,7 +8,7 @@
<name replace-wildcards="yes">%h</name>
<service>
- <type>_pacdbserve_%ARCH%._tcp</type>
+ <type>_pacdbserve_%ID%_%ARCH%._tcp</type>
<port>7079</port>
</service>
diff --git a/avahi/pacserve.service b/avahi/pacserve.service.in
index 568d08d..2da20f7 100644
--- a/avahi/pacserve.service
+++ b/avahi/pacserve.service.in
@@ -8,7 +8,7 @@
<name replace-wildcards="yes">%h</name>
<service>
- <type>_pacserve._tcp</type>
+ <type>_pacserve_%ID%._tcp</type>
<port>7078</port>
</service>