dotfiles/yaourt/export.py

8 lines
171 B
Python
Raw Normal View History

2016-03-19 20:06:06 +00:00
#!/usr/bin/env python3
import os, json
os.system('sudo yaourt -Syau')
packages = " ".join(json.load(open('packages.json')))
print("sudo yaourt -S {} ".format(packages))