Skip to content

Commit

Permalink
chore: 🤖 install bc
Browse files Browse the repository at this point in the history
  • Loading branch information
heldrida committed Oct 20, 2023
1 parent 0502c22 commit 7294370
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/node_details
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ flkMinorUnitToFlk() {
if hasCommand bc; then
echo "$1 / $defaultUnitPrecision" | bc
else
echo "$(( $1 / defaultUnitPrecision ))"
sudo DEBIAN_FRONTEND=noninteractive apt-get install bc -yq

flkMinorUnitToFlk
fi
}

Expand Down

0 comments on commit 7294370

Please sign in to comment.