Codebase list rust-stfu8 / d97e7e9
filter-in-debian: fix bug, work for binary-only crates Ximin Luo 5 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
44
55 while read crate ver; do
66 pkg="${crate//_/-}"
7 numpkg="$(apt-cache showpkg librust-"${pkg}${ver:+-$ver}"+default-dev 2>/dev/null | grep ^Package: | wc -l)"
7 numpkg="$(apt-cache showsrc rust-"${pkg}${ver:+-$ver}" 2>/dev/null | grep ^Package: | wc -l)"
88 echo "$crate $ver $numpkg"
99 done