commit:     3400a7883f129dbf4dc330f934047a72954d03c6
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 16 23:34:07 2022 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Sun Jan 16 23:56:04 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3400a788

net-irc/psybnc: install relative symlinks

Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>

 net-irc/psybnc/psybnc-2.3.2.9-r4.ebuild | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/net-irc/psybnc/psybnc-2.3.2.9-r4.ebuild 
b/net-irc/psybnc/psybnc-2.3.2.9-r4.ebuild
index eaa17997c338..001c32520db9 100644
--- a/net-irc/psybnc/psybnc-2.3.2.9-r4.ebuild
+++ b/net-irc/psybnc/psybnc-2.3.2.9-r4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -84,8 +84,8 @@ src_install() {
        doins "${FILESDIR}"/psybnc.conf
 
        keepdir "${PSYBNC_HOME}"/{log,motd,scripts}
-       dosym /usr/share/psybnc/lang "${PSYBNC_HOME}"/lang
-       dosym /usr/share/psybnc/help "${PSYBNC_HOME}"/help
+       dosym ../../../usr/share/psybnc/lang "${PSYBNC_HOME}"/lang
+       dosym ../../../usr/share/psybnc/help "${PSYBNC_HOME}"/help
 
        fowners psybnc:psybnc "${PSYBNC_HOME}"/{,log,motd,scripts} 
/etc/psybnc/psybnc.conf
        fperms 0750 "${PSYBNC_HOME}"/{,log,motd,scripts}
@@ -93,7 +93,7 @@ src_install() {
 
        if use ssl; then
                keepdir /etc/psybnc/ssl
-               dosym /etc/psybnc/ssl "${PSYBNC_HOME}"/key
+               dosym ../../../etc/psybnc/ssl "${PSYBNC_HOME}"/key
        else
                # Drop SSL listener from psybnc.conf
                sed -i -e "/^# Default SSL listener$/,+4 d" 
"${D}"/etc/psybnc/psybnc.conf || die

Reply via email to