Skip to content

Commit

Permalink
edit check_bc function
Browse files Browse the repository at this point in the history
  • Loading branch information
Yokozuna59 committed May 23, 2022
1 parent 2b22ef0 commit 8614f0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ function update_upgrade_packages {
}

function check_br {
if bc --version > /dev/null 2>&1; then
if ! bc --version > /dev/null 2>&1; then
if [[ "$package_manager" == "apk" ]]; then
sudo apk install bc -qq
elif [[ "$package_manager" == "apt-get" ]]; then
Expand Down

0 comments on commit 8614f0d

Please sign in to comment.