Commits

Anonymous committed 5174dc5

Now call eix on each run.

Comments (0)

Files changed (1)

count_pkg_in_ovrly.py

 #!/usr/bin/env python
+### imports ###
+from subprocess import call
+
+# First create the list of installed packages
+print "# eix -I > instl"
+call("eix -I > instl", shell=True)
+
 # First load the list of installed packages as a list of lines
-f = open("installierte-pakete-2009-01-29.txt", "r")
+f = open("instl", "r")
 instl = f.read().splitlines()
 f.close()