mirror of
https://github.com/smxi/inxi.git
synced 2024-11-16 16:21:39 +00:00
one more bug fix, to updater output
This commit is contained in:
parent
86de557040
commit
583e16b22b
4
inxi
4
inxi
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue