one more bug fix, to updater output

This commit is contained in:
Harald Hope 2017-07-29 16:54:59 -07:00
parent 86de557040
commit 583e16b22b

4
inxi
View file

@ -1069,19 +1069,21 @@ parse_version_data()
SELF_DATE=$( gawk -F '=' '
/^SELF_DATE/ {
print $NF
break
exit
}' "$SELF_PATH/$SELF_NAME" )
;;
main)
SELF_VERSION=$( gawk -F '=' '
/^SELF_VERSION/ {
print $NF
exit
}' "$SELF_PATH/$SELF_NAME" )
;;
patch)
SELF_PATCH=$( gawk -F '=' '
/^SELF_PATCH/ {
print $NF
exit
}' "$SELF_PATH/$SELF_NAME" )
;;
esac