fix: Improve message when installing no packages

master
Edwin Kofler 10 months ago committed by Joseph Werle
parent 9c34a8f0d8
commit df95293fcd

@ -180,6 +180,11 @@ bpkg_install () {
done done
done done
if ((${#pkgs[@]} == 0)); then
bpkg_error 'no packages supplied'
return 1
fi
if (( did_fail == 1 )); then if (( did_fail == 1 )); then
bpkg_error 'package not found on any remote' bpkg_error 'package not found on any remote'
return 1 return 1

Loading…
Cancel
Save