install/upgrade condition logic change

eom

Signed-off-by: Robert Tipton <tret@tretflix.com>