From 88faa9e95306247b57927245f47ce2a81266e0ae Mon Sep 17 00:00:00 2001 From: Eric Torres Date: Sun, 31 Mar 2019 11:17:57 -0700 Subject: [PATCH] Add pacman module --- rbackup/package_managers/pacman.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 rbackup/package_managers/pacman.py diff --git a/rbackup/package_managers/pacman.py b/rbackup/package_managers/pacman.py new file mode 100644 index 0000000..663f74b --- /dev/null +++ b/rbackup/package_managers/pacman.py @@ -0,0 +1,11 @@ +""" +.. author:: Eric Torres +.. module:: rbackup.package_managers.pacman + :synopsis: Implementation class for the Pacman package manager. +""" +from rbackup.package_managers.packagemanager import PackageManager + + +class Pacman(PackageManager): + def __init__(self): + super().__init__("/var/cache/pacman", "/var/lib/pacman", ["pacman", "-Qqe"])