diff --git a/src/exodus_bundler/dependency_detection.py b/src/exodus_bundler/dependency_detection.py index a90e336..330ef7a 100644 --- a/src/exodus_bundler/dependency_detection.py +++ b/src/exodus_bundler/dependency_detection.py @@ -95,11 +95,18 @@ class Yum(PackageManager): owner_command = ['rpm', '-qf'] owner_regex = r'(.+)' +class Zypper(PackageManager): + cache_directory = '/var/cache/zypp' + list_command = ['rpm', '-ql'] + list_regex = r'(.+)' + owner_command = ['rpm', '-qa'] + owner_regex = r'(.+)' package_managers = [ Apt(), Pacman(), Yum(), + Zypper(), ]