[Rpm-maint] [rpm-software-management/rpm] Add dbus-announce plugin (#1255)
Florian Festi
notifications at github.com
Wed May 26 13:31:38 UTC 2021
@ffesti commented on this pull request.
> + return RPMRC_OK;
+
+ /* ...don't notify on test transactions */
+ if (rpmtsFlags(ts) & (RPMTRANS_FLAG_TEST|RPMTRANS_FLAG_BUILD_PROBS))
+ return RPMRC_OK;
+
+ /* ...don't notify on chroot transactions */
+ if (!rstreq(rpmtsRootDir(ts), "/"))
+ return RPMRC_OK;
+
+ dbus_error_init(&err);
+
+ state->bus = dbus_bus_get_private(DBUS_BUS_SYSTEM, &err);
+ if (dbus_error_is_set(&err)) {
+ goto err;
+ }
Deleted lots of { and }.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/1255#discussion_r639728238
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20210526/e852cf0d/attachment.html>
More information about the Rpm-maint
mailing list