[Pkg-osm-commits] [SCM] osmembrane branch, master, updated. upstream/0.0+svn906+dfsg-4-g3735d12
Andrew Harvey
andrew.harvey4 at gmail.com
Sun Nov 20 00:13:09 UTC 2011
The following commit has been merged in the master branch:
commit 5f2fa93f6016ea1bb72d8609e191e3574af47761
Author: Andrew Harvey <andrew.harvey4 at gmail.com>
Date: Sun Nov 20 10:52:05 2011 +1100
add patch to ignore update check
diff --git a/debian/patches/02-no_update_check.patch b/debian/patches/02-no_update_check.patch
new file mode 100644
index 0000000..184b44f
--- /dev/null
+++ b/debian/patches/02-no_update_check.patch
@@ -0,0 +1,13 @@
+Don't check for updates using the upstream code, instead let Debian handle
+updates.
+--- a/src/de/osmembrane/resources/Constants.java
++++ b/src/de/osmembrane/resources/Constants.java
+@@ -199,7 +199,7 @@
+ /**
+ * Default update interval.
+ */
+- public static final SettingsTypeUpdateInterval DEFAULT_UPDATE_INTERVAL = SettingsTypeUpdateInterval.ONCE_A_DAY;
++ public static final SettingsTypeUpdateInterval DEFAULT_UPDATE_INTERVAL = SettingsTypeUpdateInterval.NEVER;
+
+ /**
+ * The website where updates can be checked.
diff --git a/debian/patches/series b/debian/patches/series
index 605653d..424c392 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
01-build.patch
+02-no_update_check.patch
--
GUI front end for Osmosis
More information about the Pkg-osm-commits
mailing list