handshake: better messages

This commit is contained in:
Dylan Araps 2020-02-19 18:39:22 +02:00
parent e1eb7413f5
commit e4656e7d65
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E

6
kiss
View File

@ -1026,7 +1026,7 @@ pkg_install() {
case ${sum_old:-null}${sum_sys:-null}${sum_new} in case ${sum_old:-null}${sum_sys:-null}${sum_new} in
# old = Y, sys = X, new = Y # old = Y, sys = X, new = Y
${sum_new}${sum_sys}${sum_old}) ${sum_new}${sum_sys}${sum_old})
log "Skipping $file." log "Skipping $file"
continue continue
;; ;;
@ -1036,13 +1036,13 @@ pkg_install() {
${sum_old}${sum_old}${sum_old}|\ ${sum_old}${sum_old}${sum_old}|\
${sum_old:-null}${sum_sys}${sum_sys}|\ ${sum_old:-null}${sum_sys}${sum_sys}|\
${sum_sys}${sum_old}*) ${sum_sys}${sum_old}*)
log "Installing $file." log "Installing $file"
new= new=
;; ;;
# All other cases. # All other cases.
*) *)
log "($pkg_name) WARN: saving /$file as /$file.new" log WARN "($pkg_name) saving /$file as /$file.new"
new=.new new=.new
;; ;;
esac esac