net-libs/libhackrf: postinst message is only for use udev
authorZero_Chaos <zerochaos@gentoo.org>
Tue, 15 Mar 2016 18:08:15 +0000 (14:08 -0400)
committerZero_Chaos <zerochaos@gentoo.org>
Tue, 15 Mar 2016 18:10:49 +0000 (14:10 -0400)
Package-Manager: portage-2.2.27

net-libs/libhackrf/libhackrf-2015.07.2.ebuild
net-libs/libhackrf/libhackrf-9999.ebuild

index cac4656dc3fa40839684a1d8094a0c59f995b2b3..fed57f02b3babff1f5407a9de3fdf6b21aba5f98 100644 (file)
@@ -42,5 +42,5 @@ src_configure(){
 }
 
 pkg_postinst() {
-       einfo "Users in the usb group can use hackrf."
+       use udev && einfo "Users in the usb group can use hackrf."
 }
index cac4656dc3fa40839684a1d8094a0c59f995b2b3..fed57f02b3babff1f5407a9de3fdf6b21aba5f98 100644 (file)
@@ -42,5 +42,5 @@ src_configure(){
 }
 
 pkg_postinst() {
-       einfo "Users in the usb group can use hackrf."
+       use udev && einfo "Users in the usb group can use hackrf."
 }