From 85d4ec42729b3f9388aef3f3c9f3b764c2c67321 Mon Sep 17 00:00:00 2001 From: nahuhh <50635951+nahuhh@users.noreply.github.com> Date: Tue, 24 May 2022 12:41:57 -0400 Subject: [PATCH] Pruned internal space requirement update (#15) * Pruned internal space requirement update Friday May 13, Pruned = 49048928256 bytes (45.68.GB) Script will fail during internal storage install if there is less than 46gb free space available. It does a check for 46gb. If less than 46gb available it will display a request for 50gb. --- src/install-monerod-in-termux.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/install-monerod-in-termux.sh b/src/install-monerod-in-termux.sh index 82f4a15..59bc695 100644 --- a/src/install-monerod-in-termux.sh +++ b/src/install-monerod-in-termux.sh @@ -107,7 +107,7 @@ CONFIRM_EXTERNAL=$(termux-dialog confirm -t "SD confirmation" -i "Are you using sleep 1 fi else - echo "Not enough free space. \n$(df -h | tail -1 | awk '{print $4}') available\n45G required" + echo "Not enough free space. \n$(df -h | tail -1 | awk '{print $4}')B available\n50GB required" termux-wake-unlock exit 1 fi @@ -134,7 +134,7 @@ Would you like to use INTERNAL Storage?" | jq '.text') exit 1 fi else - echo "Not enough free space. \n$(df -h | tail -1 | awk '{print $4}') available\n45G required" + echo "Not enough free space. \n$(df -h | tail -1 | awk '{print $4}')B available\n50GB required" termux-wake-unlock exit 1 fi @@ -161,7 +161,7 @@ Would you like to use INTERNAL Storage?" | jq '.text') exit 1 fi else -echo "Not enough free space. \n$(df -h | tail -1 | awk '{print $4}') available\n45G required" +echo "Not enough free space. \n$(df -h | tail -1 | awk '{print $4}')B available\n50GB required" termux-wake-unlock exit 1 fi