> On 28 Oct 2022, at 14:10, Mikko Rapeli via lists.openembedded.org > <[email protected]> wrote: > + if ${@bb.utils.contains('PACKAGECONFIG', 'polkit', 'true', 'false', > d)}; then > + if [ -d ${D}${datadir}/polkit-1/rules.d ]; then
No point to have the double check here: just check if the directory exists. Ross
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#99335): https://lists.openembedded.org/g/openembedded-devel/message/99335 Mute This Topic: https://lists.openembedded.org/mt/94625917/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
