summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Ancell <robert.ancell@canonical.com>2022-03-23 12:23:35 +1300
committerRobert Ancell <robert.ancell@canonical.com>2022-03-23 12:23:35 +1300
commit6e966374b0e5f6f2d07db905ccc994e71f4d0bf5 (patch)
tree251aa7bcd9784b0b67d5b6e36cfdd5334de2fcd6
parent6ccf6044a62772b1e5fbf34d3ff845843a08d557 (diff)
Disable Ubuntu Pro notification
-rw-r--r--debian/changelog6
-rw-r--r--src/ubuntu-advantage.c4
2 files changed, 10 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 34bc8c57..d6a6558d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+update-notifier (3.192.52) UNRELEASED; urgency=medium
+
+ * Disable Ubuntu Pro notification (LP: #1965996)
+
+ -- Robert Ancell <robert.ancell@canonical.com> Wed, 23 Mar 2022 12:22:48 +1300
+
update-notifier (3.192.51) jammy; urgency=medium
* src/ubuntu-advantage.c:
diff --git a/src/ubuntu-advantage.c b/src/ubuntu-advantage.c
index d8510ae5..94252975 100644
--- a/src/ubuntu-advantage.c
+++ b/src/ubuntu-advantage.c
@@ -117,6 +117,10 @@ main (int argc, char **argv)
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
textdomain (GETTEXT_PACKAGE);
+ // Disabled for now.
+ // https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/1965996
+ return EXIT_SUCCESS;
+
// Check if user has opted out of notification.
g_autoptr(GSettings) settings = g_settings_new (SETTINGS_SCHEMA);
if (!g_settings_get_boolean (settings, SETTINGS_KEY_NOTIFY_UBUNTU_ADVANTAGE_AVAILABLE)) {