diff --git a/bin/xbps-install/state_cb.c b/bin/xbps-install/state_cb.c index 88f29259..0b5ee4a3 100644 --- a/bin/xbps-install/state_cb.c +++ b/bin/xbps-install/state_cb.c @@ -141,7 +141,10 @@ state_cb(const struct xbps_state_cb_data *xscd, void *cbdata _unused) rv = yesno("Do you want to import this public key?"); break; case XBPS_STATE_SHOW_INSTALL_MSG: - printf("%s: post-install message:\n%s", xscd->arg, xscd->desc); + printf("%s: post-install message:\n", xscd->arg); + printf("========================================================================\n"); + printf("%s", xscd->desc); + printf("========================================================================\n"); break; case XBPS_STATE_UNPACK_FILE_PRESERVED: printf("%s\n", xscd->desc); diff --git a/bin/xbps-remove/main.c b/bin/xbps-remove/main.c index 5c2f23ae..7b563282 100644 --- a/bin/xbps-remove/main.c +++ b/bin/xbps-remove/main.c @@ -92,7 +92,10 @@ state_cb_rm(const struct xbps_state_cb_data *xscd, void *cbdata _unused) } break; case XBPS_STATE_SHOW_REMOVE_MSG: - printf("%s: pre-remove message:\n%s", xscd->arg, xscd->desc); + printf("%s: pre-remove message:\n", xscd->arg); + printf("========================================================================\n"); + printf("%s", xscd->desc); + printf("========================================================================\n"); break; /* errors */ case XBPS_STATE_REMOVE_FAIL: