800
800
# only perform install step if we actually have packages to install
801
801
pkg_install_success = None
802
803
if len(pkgs_to_upgrade) > 0:
803
808
pkg_install_success = do_install(cache, pkgs_to_upgrade, options, logfile_dpkg)
805
810
# send a mail (if needed)