diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-01-30 14:41:20 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-01-30 14:41:20 +0000 |
commit | 515171c670ed6ae373002196b8cd3dd1154cd5cc (patch) | |
tree | 24c23352ea23f85f95cb065d200621949fd986c7 /src/backend/ebuildsearch.py | |
parent | 1e64e01b293ecd775af05816cc3d299ebadb5960 (diff) |
ui : move package operations into the backend
Diffstat (limited to 'src/backend/ebuildsearch.py')
-rw-r--r-- | src/backend/ebuildsearch.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/backend/ebuildsearch.py b/src/backend/ebuildsearch.py new file mode 100644 index 0000000..c9b5862 --- /dev/null +++ b/src/backend/ebuildsearch.py @@ -0,0 +1,6 @@ +#!/usr/bin/python3 + +import subprocess + +def start(pkgname): + subprocess.call(['emerge', '--search', '--getbinpkg'] + list(pkgname)) |