From: Franck Joncourt <franck.mail@dthconnex.com>
Subject: [PATCH] fixes/examples_path

Update the path to the example files.

On Debian systems the embedded docs are moved to /usr/share/doc/urlwatch
rather than /usr/share/urlwatch/examples (upstream way).

When a user runs urlwatch for the first time, those example files are copied
to the user's home directory, and thus the path need to be updated.

Signed-off-by: Franck Joncourt <franck.mail@dthconnex.com>

---
 urlwatch |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/urlwatch b/urlwatch
index 06a9d8e..fc199fc 100755
--- a/urlwatch
+++ b/urlwatch
@@ -61,7 +61,7 @@ hooks_py = os.path.join(scripts_dir, 'hooks.py')
 
 if bindir == 'bin':
     # Assume we are installed in system
-    examples_dir = os.path.join(prefix, 'share', pkgname, 'examples')
+    examples_dir = os.path.join(prefix, 'share', 'doc', pkgname)
 else:
     # Assume we are not yet installed
     examples_dir = os.path.join(prefix, bindir, 'examples')
-- 
tg: (16fdd1d..) fixes/examples_path (depends on: upstream)
