Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bashrc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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" | bc) == 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\
Expand Down