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

2
kiss
View File

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