summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/syncthing/syncthing-1.0.1.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/net-p2p/syncthing/syncthing-1.0.1.ebuild b/net-p2p/syncthing/syncthing-1.0.1.ebuild
index e49e912c31e6..6a2795b2434b 100644
--- a/net-p2p/syncthing/syncthing-1.0.1.ebuild
+++ b/net-p2p/syncthing/syncthing-1.0.1.ebuild
@@ -5,7 +5,7 @@ EAPI=7
EGO_PN="github.com/${PN}/${PN}"
-inherit golang-vcs-snapshot systemd user
+inherit golang-vcs-snapshot systemd user xdg-utils
DESCRIPTION="Open Source Continuous File Synchronization"
HOMEPAGE="https://syncthing.net"
@@ -35,6 +35,9 @@ pkg_setup() {
}
src_prepare() {
+ # Bug #679280
+ xdg_environment_reset
+
default
sed -i \
's|^ExecStart=.*|ExecStart=/usr/libexec/syncthing/strelaysrv|' \