dotfiles/yaourt/export.py

7 lines
175 B
Python
Executable file

#!/usr/bin/env python3
import os, json
os.system('sudo yaourt -Syau')
packages = " ".join(json.load(open('packages.json')))
os.system("sudo yaourt -S {} ".format(packages))