kiss: only show ordering message if more than one package will be operated on

This commit is contained in:
Dylan Araps 2021-07-23 11:22:19 +03:00
parent d2b952651e
commit 651e5a3ea7
No known key found for this signature in database
GPG Key ID: 13295DAC2CF13B5C
1 changed files with 3 additions and 1 deletions

4
kiss
View File

@ -572,7 +572,9 @@ pkg_order() {
# pre-built tarballs if this is to be called from 'kiss i'.
unset order redro deps
log "Ordering arguments list based on dependence"
case $2 in *?*)
log "Ordering arguments list based on dependence"
esac
for pkg do case $pkg in
/*@*.tar.*) deps="$deps $pkg" ;;