From 509afe1e1fff23bb1586db79ef6b940d3bf56469 Mon Sep 17 00:00:00 2001 From: CDeeRON Date: Sat, 30 Jul 2016 20:16:15 -0400 Subject: [PATCH] Update basic-install.sh Fixes #603 --- automated install/basic-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/automated install/basic-install.sh b/automated install/basic-install.sh index 29e3237f..5aa3a2a1 100755 --- a/automated install/basic-install.sh +++ b/automated install/basic-install.sh @@ -158,7 +158,7 @@ verifyFreeDiskSpace() { # 50MB is the minimum space needed (45MB install (includes web admin bootstrap/jquery libraries etc) + 5MB one day of logs.) requiredFreeBytes=51200 - existingFreeBytes=$(df -lk / 2>&1 | awk '{print $4}' | head -2 | tail -1) + existingFreeBytes=$(df -k / 2>&1 | awk '{print $4}' | head -2 | tail -1) if ! [[ "$existingFreeBytes" =~ ^([0-9])+$ ]]; then existingFreeBytes=$(df -lk /dev 2>&1 | awk '{print $4}' | head -2 | tail -1) fi