#! /bin/sh /usr/share/dpatch/dpatch-run
## 08_disable_new_version_check.dpatch by JCF Ploemen (jcfp) <linux@jp.pp.ru>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Disable the builtin check for newer versions.
@DPATCH@
diff -urNad sabnzbdplus-0.5.0~alpha6~/sabnzbd/misc.py sabnzbdplus-0.5.0~alpha6/sabnzbd/misc.py
--- sabnzbdplus-0.5.0~alpha6~/sabnzbd/misc.py 2009-10-07 20:44:30.778971249 +0200
+++ sabnzbdplus-0.5.0~alpha6/sabnzbd/misc.py 2009-10-07 20:45:21.838971352 +0200
@@ -506,6 +506,8 @@
return
current, testver = convert_version(sabnzbd.__version__)
+ logging.debug("Version check disabled by Ubuntu/Debian packaging")
+ return
if not current:
logging.debug("Unsupported release number (%s), will not check", sabnzbd.__version__)
return