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=$( gawk -F '=' '
|
||||||
/^SELF_DATE/ {
|
/^SELF_DATE/ {
|
||||||
print $NF
|
print $NF
|
||||||
break
|
exit
|
||||||
}' "$SELF_PATH/$SELF_NAME" )
|
}' "$SELF_PATH/$SELF_NAME" )
|
||||||
;;
|
;;
|
||||||
main)
|
main)
|
||||||
SELF_VERSION=$( gawk -F '=' '
|
SELF_VERSION=$( gawk -F '=' '
|
||||||
/^SELF_VERSION/ {
|
/^SELF_VERSION/ {
|
||||||
print $NF
|
print $NF
|
||||||
|
exit
|
||||||
}' "$SELF_PATH/$SELF_NAME" )
|
}' "$SELF_PATH/$SELF_NAME" )
|
||||||
;;
|
;;
|
||||||
patch)
|
patch)
|
||||||
SELF_PATCH=$( gawk -F '=' '
|
SELF_PATCH=$( gawk -F '=' '
|
||||||
/^SELF_PATCH/ {
|
/^SELF_PATCH/ {
|
||||||
print $NF
|
print $NF
|
||||||
|
exit
|
||||||
}' "$SELF_PATH/$SELF_NAME" )
|
}' "$SELF_PATH/$SELF_NAME" )
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
Loading…
Reference in a new issue