Merge branch 'master' into updating-configuration

This commit is contained in:
VirtuBox
2019-08-12 22:19:34 +02:00
5 changed files with 11 additions and 5 deletions

View File

@@ -397,7 +397,7 @@ class WOStackController(CementBaseController):
Log.debug(self, "Calling pre_pref")
pre_pref(self, apt_packages)
if (apt_packages):
meminfo = (os.popen('cat /proc/meminfo '
meminfo = (os.popen('/bin/cat /proc/meminfo '
'| grep MemTotal').read()).split(":")
memsplit = re.split(" kB", meminfo[1])
wo_mem = int(memsplit[0])