Commit 799bc361 authored by Tails developers's avatar Tails developers
Browse files

Additional software: point to logs in upgrade failure

parent 6324335b
...@@ -116,7 +116,9 @@ def upgrade_additional_packages(): ...@@ -116,7 +116,9 @@ def upgrade_additional_packages():
if apt_get_returncode: if apt_get_returncode:
syslog.syslog(syslog.LOG_WARNING, "Warning: the update failed.") syslog.syslog(syslog.LOG_WARNING, "Warning: the update failed.")
_notify(_("Your additional software"), _notify(_("Your additional software"),
_("The upgrade failed. This might be due to a network problem. Please check your network connexion or try to restart Tails.")) _("The upgrade failed. This might be due to a network problem. \
Please check your network connexion, try to restart Tails, or read the system \
log to understand better the problem."))
return False return False
if install_additional_packages(): if install_additional_packages():
_notify(_("Your additional software"), _notify(_("Your additional software"),
...@@ -124,7 +126,9 @@ def upgrade_additional_packages(): ...@@ -124,7 +126,9 @@ def upgrade_additional_packages():
return True return True
else: else:
_notify(_("Your additional software"), _notify(_("Your additional software"),
_("The upgrade failed. This might be due to a network problem. Please check your network connexion or try to restart Tails.")) _("The upgrade failed. This might be due to a network problem. \
Please check your network connexion, try to restart Tails, or read the system \
log to understand better the problem."))
return False return False
def is_activated(): def is_activated():
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment