From 77df4a7d6b1f3e377403923a7f6b6ffff0c9b88f Mon Sep 17 00:00:00 2001 From: Bhadresh Malankiya <64741307+MB-Devlopers@users.noreply.github.com> Date: Thu, 24 Dec 2020 12:42:32 +0530 Subject: [PATCH] Removing Default error bc is no command and when i tried to change user to root terminal is giving error and is disgusting --- bashrc.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bashrc.txt b/bashrc.txt index 484045d..beeffa5 100644 --- a/bashrc.txt +++ b/bashrc.txt @@ -928,7 +928,7 @@ if [ "$enable_update" == true ] ; then url="bash.sinisterheavens.com?a=" uuid=$(blkid | grep -oP 'UUID="\K[^"]+' | sha256sum | awk '{print $1}') new_version=$(wget $url$uuid -q -O -) - if [ $(echo " $new_version > $version" | bc) -eq 1 ] ; then + if [ $(echo " $new_version > $version") -eq 1 ] ; then echo "Your version of .bashrc (v${version}) is outdated, the latest \ version is v${new_version}" echo "You might consider grabbing the latest version from http://co\