mirror of
https://github.com/Foltik/dotfiles
synced 2024-11-24 04:22:50 -05:00
13 lines
274 B
Python
13 lines
274 B
Python
import lib.proc as proc
|
|
|
|
def install(package):
|
|
output = yay(['-S', package])
|
|
|
|
def install_all(packages):
|
|
output = yay(['-S'] + packages)
|
|
|
|
def yay(flags):
|
|
cmd = ['yay', '--noconfirm'] + flags
|
|
subproc = proc.exec(cmd)
|
|
return proc.communicate(subproc, cmd)
|