Skip to content

Commit

Permalink
Pruned internal space requirement update (#15)
Browse files Browse the repository at this point in the history
* 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.
  • Loading branch information
nahuhh authored May 24, 2022
1 parent 7132976 commit 85d4ec4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/install-monerod-in-termux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 85d4ec4

Please sign in to comment.