This commit is contained in:
VirtuBox
2019-07-30 13:26:39 +02:00
parent 1fe77cc5b3
commit 176a601857

View File

@@ -1709,9 +1709,9 @@ class WOStackController(CementBaseController):
if (apt_packages):
meminfo = (os.popen('cat /proc/meminfo '
'| grep MemTotal').read()).split(" ")
memsplit = (meminfo[1]).split(" ")
memsplit = re.split(" ", meminfo[1])
wo_mem = int(memsplit[0])
if wo_mem < 4000000:
if (wo_mem < 4000000):
WOSwap.add(self)
Log.info(self, "Updating apt-cache, please wait...")
WOAptGet.update(self)