On Sun, 19 Jul 2015 23:10:28 +0100
Patrick O'Callaghan wrote:

> Here they're in /usr/lib/python2.7/site-packages/dnf-plugins but I
> wouldn't regard that as stable once Python 3 becomes the default.

Yea, I ran dnf under strace to see what directories it poked
around in and that appears to be the only place it looks.
I had hoped to see it looking in some additional place
like /etc/dnf/dnf-plugins, but I didn't notice anything
like that.

Anyway, I appear to have managed to write an "afterdnf"
plugin that starts a background job to wait for the
pid that ran the plugin to go away, then runs some hooks
once dnf has exited. For adapting my "big hammer" to
fedora 22:

http://tomhorsley.com/game/Mjolnir.html :-).
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to