commit:     09bb7c2ef3ee998c14c6b3c7162b00ab4cbaa27e
Author:     Haelwenn (lanodan) Monnier <contact <AT> hacktivis <DOT> me>
AuthorDate: Fri Jun  8 14:26:32 2018 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Jun  9 08:30:19 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09bb7c2e

www-plugins/passff-host: Fix .path in the json

Closes: https://github.com/gentoo/gentoo/pull/8761

 www-plugins/passff-host/passff-host-1.0.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www-plugins/passff-host/passff-host-1.0.1.ebuild 
b/www-plugins/passff-host/passff-host-1.0.1.ebuild
index 9b984afdc45..ddcae5e621f 100644
--- a/www-plugins/passff-host/passff-host-1.0.1.ebuild
+++ b/www-plugins/passff-host/passff-host-1.0.1.ebuild
@@ -46,7 +46,7 @@ src_install() {
        use vivaldi  && target_dirs+=( "/etc/vivaldi/native-messaging-hosts" )
 
        for target_dir in "${target_dirs[@]}"; do
-               sed "s;PLACEHOLDER;${target_dir};g" "${P}.json" > "passff.json" 
|| die
+               sed "s;PLACEHOLDER;${target_dir}/passff.py;g" "${P}.json" > 
"passff.json" || die
 
                insinto "${target_dir}"
                doins passff.json

Reply via email to