GRAYBYTE WORDPRESS FILE MANAGER7003

Server IP : 198.54.121.189 / Your IP : 216.73.216.140
System : Linux premium69.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
PHP Version : 7.4.33
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /usr/lib/python3.6/site-packages/dnf-plugins/
Upload Files :
Current_dir [ Not Writeable ] Document_root [ Writeable ]

Command :


Current File : /usr/lib/python3.6/site-packages/dnf-plugins//etckeeper.py
# etckeeper.py, support etckeeper for dnf
#
# Copyright (C) 2014 Peter Listiak
# https://github.com/plistiak/dnf-etckeeper
#
# Later modifications by Petr Spacek:
# Distutils code below was copied from etckeeper-bzr distributed with v1.15
#

import logging
import subprocess
import dnf

logger = logging.getLogger('dnf.plugin')


class Etckeeper(dnf.Plugin):

    name = 'etckeeper'

    def _run_command(self, command):
        logger.debug('Etckeeper plugin: %s', command)
        try:
            with open("/dev/null", "wb") as devnull:
                ret = subprocess.call(("etckeeper", command),
                                      stdout=devnull, stderr=devnull,
                                      close_fds=True)
                if ret != 0:
                    raise dnf.exceptions.Error('"etckeeper %s" returned: %d' % (command, ret))
        except OSError as err:
            logger.warning('Failed to run "etckeeper %s": %s' % (command, err))

    def resolved(self):
        self._run_command("pre-install")

    def transaction(self):
        self._run_command("post-install")

if __name__ == "__main__":
    from distutils.core import setup
    setup(name="dnf-etckeeper",
          packages=["dnf-plugins"],
          package_dir={"dnf-plugins":"etckeeper-dnf"})

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
July 01 2025 22:14:40
root / root
0755
__pycache__
--
April 05 2025 06:23:03
root / root
0755
builddep.py
9.127 KB
April 08 2024 10:02:45
root / root
0644
changelog.py
4.851 KB
April 12 2021 15:30:34
root / root
0644
config_manager.py
10.63 KB
April 12 2021 15:30:34
root / root
0644
copr.py
29.588 KB
April 08 2024 10:02:45
root / root
0644
debug.py
12.271 KB
April 12 2021 15:30:34
root / root
0644
debuginfo-install.py
10.824 KB
April 12 2021 15:30:34
root / root
0644
download.py
12.041 KB
April 12 2021 15:30:34
root / root
0644
etckeeper.py
1.256 KB
January 28 2023 09:34:10
root / root
0644
generate_completion_cache.py
3.855 KB
April 12 2021 15:30:34
root / root
0644
groups_manager.py
13.215 KB
April 08 2024 10:02:45
root / root
0644
needs_restarting.py
11.594 KB
April 08 2024 10:02:46
root / root
0644
repoclosure.py
6.651 KB
April 12 2021 15:30:34
root / root
0644
repodiff.py
11.206 KB
April 12 2021 15:30:34
root / root
0644
repograph.py
3.996 KB
April 12 2021 15:30:34
root / root
0644
repomanage.py
10.322 KB
April 08 2024 10:02:45
root / root
0644
reposync.py
14.305 KB
April 08 2024 10:02:45
root / root
0644
spacewalk.py
13.876 KB
February 26 2025 09:26:06
root / root
0644
system_upgrade.py
26.165 KB
April 08 2024 10:02:45
root / root
0644
universal_hooks.py
5.78 KB
October 11 2020 23:57:51
root / root
0755
versionlock.py
12.028 KB
April 08 2024 10:02:45
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF