www-plugins/passff-host: Fix .path in the json
authorHaelwenn (lanodan) Monnier <contact@hacktivis.me>
Fri, 8 Jun 2018 14:26:32 +0000 (16:26 +0200)
committerMichał Górny <mgorny@gentoo.org>
Sat, 9 Jun 2018 08:30:19 +0000 (10:30 +0200)
Closes: https://github.com/gentoo/gentoo/pull/8761

www-plugins/passff-host/passff-host-1.0.1.ebuild

index 9b984afdc45aa7076524ef5570c5d75a0941709d..ddcae5e621f0e76fbf09e0e3418c5f9fcecf53e6 100644 (file)
@@ -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