summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-crypt/ccid/ccid-1.4.22.ebuild')
-rw-r--r--app-crypt/ccid/ccid-1.4.22.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/app-crypt/ccid/ccid-1.4.22.ebuild b/app-crypt/ccid/ccid-1.4.22.ebuild
index 500aaee0e654..be66a0921216 100644
--- a/app-crypt/ccid/ccid-1.4.22.ebuild
+++ b/app-crypt/ccid/ccid-1.4.22.ebuild
@@ -58,7 +58,9 @@ src_install() {
# disable Kobil_mIDentity_switch udev rule with USE=-kobil-midentity
if ! use kobil-midentity; then
- sed -i -e '/Kobil_mIDentity_switch/s/^/#/' "$(_udev_get_udevdir)"/rules.d/92-pcsc-ccid.rules
+ sed \
+ -e '/Kobil_mIDentity_switch/s/^/#/' \
+ -i "${D}/$(get_udevdir)"/rules.d/92-pcsc-ccid.rules || die
fi
fi