From: "Gudjon I. Gudjonsson" <gudjon@gudjon.org>
Date: Fri, 27 Apr 2018 22:52:20 +0200
Subject: _disable-update-warning

Disable checking of updates of eric and plugin repository at startup.
Disable download of new version of eric.
---
 eric/eric6/UI/UserInterface.py | 10 +++++-----
 eric/eric6/eric6.py            |  4 ++--
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/eric/eric6/UI/UserInterface.py b/eric/eric6/UI/UserInterface.py
index 6315117..12505d0 100644
--- a/eric/eric6/UI/UserInterface.py
+++ b/eric/eric6/UI/UserInterface.py
@@ -6131,7 +6131,7 @@ class UserInterface(E5MainWindow):
                 self.__setWindowCaption(editor="")
         
         self.__httpAlternatives = Preferences.getUI("VersionsUrls6")
-        self.performVersionCheck(False)
+        #self.performVersionCheck(False)
         
         from QScintilla.SpellChecker import SpellChecker
         SpellChecker.setDefaultLanguage(
@@ -7157,8 +7157,8 @@ class UserInterface(E5MainWindow):
                             self.tr("Update available"),
                             self.tr(
                                 """The update to <b>{0}</b> of eric6 is"""
-                                """ available at <b>{1}</b>. Would you like"""
-                                """ to get it?""")
+                                """ available at <b>{1}</b>. Please ask the Debian package maintainer"""
+                                """ to package it.""")
                             .format(versions[2], versions[3]),
                             yesDefault=True)
                         url = res and versions[3] or ''
@@ -7210,8 +7210,8 @@ class UserInterface(E5MainWindow):
                 self.tr("Error during updates check"),
                 self.tr("""Could not perform updates check."""))
         
-        if url:
-            QDesktopServices.openUrl(QUrl(url))
+        #if url:
+        #    QDesktopServices.openUrl(QUrl(url))
         
     @pyqtSlot()
     def __versionsDownloadCanceled(self):
diff --git a/eric/eric6/eric6.py b/eric/eric6/eric6.py
index 0326ff9..37c44ae 100644
--- a/eric/eric6/eric6.py
+++ b/eric/eric6/eric6.py
@@ -240,8 +240,8 @@ def uiStartUp():
     mainWindow.processInstallInfoFile()
     mainWindow.checkProjectsWorkspace()
     mainWindow.checkConfigurationStatus()
-    mainWindow.performVersionCheck(False)
-    mainWindow.checkPluginUpdatesAvailable()
+    #mainWindow.performVersionCheck(False)
+    #mainWindow.checkPluginUpdatesAvailable()
     mainWindow.autoConnectIrc()
 
 
