lib/transaction: add PKG_UPGRADE variable to postinst scripts

9 jobs for feature/pkg_upgrade
in 4 minutes and 57 seconds and was queued for 4 seconds