Require debcargo 2.1.3 or later

This commit is contained in:
Ximin Luo 2018-07-05 22:43:36 -07:00
parent 2de6944f25
commit eb8627c809

View File

@ -33,7 +33,7 @@ fi
test -x "$DEBCARGO" || abort 1 "debcargo found but not executable: $DEBCARGO"
dcver=$($DEBCARGO --version | sed -ne 's/debcargo //p')
case $dcver in
2.0.*|2.1.0*|2.1.1|2.1.1-*) abort 1 "unsupported debcargo version $dcver. try reinstalling with \`cargo install debcargo --force\`";;
2.0.*|2.1.0*|2.1.1|2.1.1-*|2.1.2|2.1.2-*) abort 1 "unsupported debcargo version $dcver. try reinstalling with \`cargo install debcargo --force\`";;
2.1.*) true;;
*) abort 1 "unsupported debcargo version: $dcver";;
esac