Bump required debcargo to 2.2.10
Ximin Luo
5 years ago
2 | 2 |
|
3 | 3 |
To get set up, run::
|
4 | 4 |
|
5 | |
apt update && apt install cargo debcargo
|
6 | |
|
7 | |
As your regular user, update the crates.io index:
|
8 | |
|
9 | |
cargo search
|
|
5 |
apt update && apt install debcargo
|
10 | 6 |
|
11 | 7 |
Then for each new package:
|
12 | 8 |
|
34 | 34 |
test -x "$DEBCARGO" || abort 1 "debcargo found but not executable: $DEBCARGO"
|
35 | 35 |
dcver=$($DEBCARGO --version | sed -ne 's/debcargo //p')
|
36 | 36 |
case $dcver in
|
37 | |
2.0.*|2.1.*|2.2.[012345678]|2.2.[012345678]-*) abort 1 "unsupported debcargo version $dcver. try reinstalling with \`cargo install debcargo --force\`";;
|
|
37 |
2.0.*|2.1.*|2.2.[0123456789]|2.2.[0123456789]-*) abort 1 "unsupported debcargo version $dcver. try reinstalling with \`cargo install debcargo --force\`";;
|
38 | 38 |
2.2.*) true;;
|
39 | 39 |
*) abort 1 "unsupported debcargo version: $dcver";;
|
40 | 40 |
esac
|