net-misc/teamviewer: Relative symlinks
authorAndreas Sturmlechner <asturm@gentoo.org>
Mon, 18 Dec 2017 00:41:18 +0000 (01:41 +0100)
committerAndreas Sturmlechner <asturm@gentoo.org>
Mon, 18 Dec 2017 01:28:47 +0000 (02:28 +0100)
Package-Manager: Portage-2.3.19, Repoman-2.3.6

net-misc/teamviewer/teamviewer-13.0.5693.ebuild

index 5928c42171d035cfa5e597d5360c4e188cb00671..01d79a30903e2477506c7424a4c46b406ebd6d79 100644 (file)
@@ -88,14 +88,14 @@ src_install() {
        done
 
        keepdir /etc/${MY_PN}
-       dosym /etc/${MY_PN} ${dst}/config
+       dosym ../../etc/${MY_PN} ${dst}/config
 
        # Create directory and symlink for log files (NOTE: according to Team-
        # Viewer devs, all paths are hard-coded in the binaries; therefore
        # using the same path as the DEB/RPM archives, i.e. '/var/log/teamviewer
        # <major-version>')
        keepdir /var/log/${MY_PN}
-       dosym /var/log/${MY_PN} ${dst}/logfiles
+       dosym ../../var/log/${MY_PN} ${dst}/logfiles
 
        dodir /opt/bin
        dosym ${dst}/tv_bin/teamviewerd /opt/bin/teamviewerd${SLOT}