update code

This commit is contained in:
Dimitris Zlatanidis 2014-10-24 08:05:54 +03:00
parent 0d95c4e302
commit 8111cc73c0

View file

@ -50,7 +50,8 @@ def slack_install(slack_pkg, version):
CYAN, slack_pkg, ENDC))
sys.stdout.write("{0}Reading package lists ...{1}".format(GREY, ENDC))
sys.stdout.flush()
data = _greps(_packages(version), slack_pkg, version)
PACKAGES_TXT = _packages(version)
data = _greps(PACKAGES_TXT, slack_pkg, version)
dwn_list, install_all, comp_sum, uncomp_sum = _store(data[0], data[1],
data[2], data[3],
slack_pkg, version)