mklive.sh.in: detect xbps>=0.20 correctly.
This commit is contained in:
parent
c9821add5c
commit
b1655acba5
|
@ -394,7 +394,7 @@ fi
|
|||
XBPS_VERSION=$($XBPS_QUERY_CMD -V|awk '{print $2}')
|
||||
case $XBPS_VERSION in
|
||||
# XBPS >= 0.18
|
||||
[0-9].[1-9][8-9]*) ;;
|
||||
[0-9].[1-9][8-9]*|[0-9].[2-9][0-9]*) ;;
|
||||
*) echo "Your xbps utilities are too old ($XBPS_VERSION), 0.18 is required." && exit 1;;
|
||||
esac
|
||||
|
||||
|
|
Loading…
Reference in New Issue