net-im/pyicq-t: Fix DoublePrefixInPath
authorMichał Górny <mgorny@gentoo.org>
Sat, 31 Aug 2019 06:55:59 +0000 (08:55 +0200)
committerMichał Górny <mgorny@gentoo.org>
Sat, 31 Aug 2019 07:02:29 +0000 (09:02 +0200)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
net-im/pyicq-t/pyicq-t-0.8.1.5-r6.ebuild

index bbfe7914fe4a9bf96e9524b47d1d8be50b2f0ef3..ec0c387fbfa9aa686bd394a0406771ea04293b8d 100644 (file)
@@ -48,7 +48,7 @@ src_install() {
        newins config_example.xml ${PN}.xml
        fperms 600 /etc/jabber/${PN}.xml
        fowners jabber:jabber /etc/jabber/${PN}.xml
-       fperms 755 "$(python_get_sitedir)/${PN}/${PN}.py"
+       chmod 755 "${D}$(python_get_sitedir)/${PN}/${PN}.py" || die
        sed -i \
                -e "s:<spooldir>[^\<]*</spooldir>:<spooldir>/var/spool/jabber</spooldir>:" \
                -e "s:<pid>[^\<]*</pid>:<pid>/var/run/jabber/${PN}.pid</pid>:" \