forked from kiss-community/kiss
handshake: better messages
This commit is contained in:
parent
e1eb7413f5
commit
e4656e7d65
6
kiss
6
kiss
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user