Description: Disable the auto-updater
 It is meaningless in the presence of a package manager.
Author: Sébastien Villemot <sebastien@debian.org>
Forwarded: not-needed
Last-Update: 2014-02-18
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/src/matlab2tikz.m
+++ b/src/matlab2tikz.m
@@ -97,7 +97,7 @@ function matlab2tikz(varargin)
 %   taking a peek at what the figure will look like. (default: false)
 %
 %   MATLAB2TIKZ('checkForUpdates',BOOL,...) determines whether to automatically
-%   check for updates of matlab2tikz. (default: true)
+%   check for updates of matlab2tikz. (default: false)
 %
 %   Example
 %      x = -pi:pi/10:pi;
@@ -202,7 +202,7 @@ function matlab2tikz(varargin)
   ipp = ipp.addParamValue(ipp, 'strictFontSize', false, @islogical);
   ipp = ipp.addParamValue(ipp, 'showInfo', true, @islogical);
   ipp = ipp.addParamValue(ipp, 'showWarnings', true, @islogical);
-  ipp = ipp.addParamValue(ipp, 'checkForUpdates', true, @islogical);
+  ipp = ipp.addParamValue(ipp, 'checkForUpdates', false, @islogical);
 
   ipp = ipp.addParamValue(ipp, 'encoding' , '', @ischar);
   ipp = ipp.addParamValue(ipp, 'standalone', false, @islogical);
@@ -345,11 +345,7 @@ function matlab2tikz(varargin)
 
   % Conditionally check for a new matlab2tikz version outside version control
   if m2t.cmdOpts.Results.checkForUpdates && isempty(VCID)
-      updater(m2t.name, ...
-              m2t.website, ...
-              m2t.version, ...
-              m2t.cmdOpts.Results.showInfo, ...
-              m2t.env)
+      warning('Auto-updater not available. Please use the package manager instead.')
   end
 
   % print some version info to the screen
