diff --git a/README.rst b/README.rst index c94c8ed..0f0a01b 100644 --- a/README.rst +++ b/README.rst @@ -3,11 +3,7 @@ To get set up, run:: - apt update && apt install cargo debcargo - -As your regular user, update the crates.io index: - - cargo search + apt update && apt install debcargo Then for each new package: diff --git a/vars.sh.frag b/vars.sh.frag index dd328dd..43a2616 100644 --- a/vars.sh.frag +++ b/vars.sh.frag @@ -35,7 +35,7 @@ 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.*|2.2.[012345678]|2.2.[012345678]-*) abort 1 "unsupported debcargo version $dcver. try reinstalling with \`cargo install debcargo --force\`";; +2.0.*|2.1.*|2.2.[0123456789]|2.2.[0123456789]-*) abort 1 "unsupported debcargo version $dcver. try reinstalling with \`cargo install debcargo --force\`";; 2.2.*) true;; *) abort 1 "unsupported debcargo version: $dcver";; esac