mklive.sh.in: detect xbps>=0.20 correctly.

This commit is contained in:
Juan RP 2013-01-16 20:53:32 +01:00
parent c9821add5c
commit b1655acba5
1 changed files with 1 additions and 1 deletions

View File

@ -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