Return a list (with abbreviation) of known NeuroDebian mirrors.
--overwrite,
- If apt file already present, it would not be overriden (by default).
+ If apt file already present, it would not be overridden (by default).
Use this option to overwrite.
--suffix=SUFFIX
# if absent -- check availability of the package
apt_cache=$(LANG=C apt-cache policy "$pkg" 2>&1)
- if [[ "$apt_cache" =~ Unable\ to\ locate\ package ]] || [[ "$apt_cache" =~ Candidate:\ (none) ]]; then
+ if [[ "$apt_cache" =~ Unable\ to\ locate\ package ]] || [[ "$apt_cache" =~ Candidate:\ (none) ]] \
+ || [[ "$apt_cache" =~ is\ not\ available ]] ; then
print_verbose 1 "Package $pkg providing command $cmd is N/A. Skipping"
return 10;
fi