From cb10c4e4ea9c63d2b17d616b488267a30d32cb0d Mon Sep 17 00:00:00 2001
From: Yann Leboulanger <asterix@lagaule.org>
Date: Mon, 5 Jan 2009 22:22:34 +0000
Subject: [PATCH] set datadir to /usr/share/gajim instead of /usr/share. Fixes
 #4638

---
 scripts/gajim-remote.in | 4 ++--
 scripts/gajim.in        | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/scripts/gajim-remote.in b/scripts/gajim-remote.in
index 7f90b2f7a..d9e994dd2 100644
--- a/scripts/gajim-remote.in
+++ b/scripts/gajim-remote.in
@@ -24,9 +24,9 @@ if test $(id -u) -eq 0; then
 	exit 1
 fi
 
-export datadir=@DATADIR@
+export datadir=@DATADIR@/gajim
 PYTHON_EXEC=@PYTHON@
 
-cd ${datadir}/gajim/src
+cd ${datadir}/src
 export PYTHONPATH="$PYTHONPATH:@LIBDIR@/gajim"
 exec ${PYTHON_EXEC} -OO gajim-remote.py "$@"
diff --git a/scripts/gajim.in b/scripts/gajim.in
index 7858e0718..7648aff04 100644
--- a/scripts/gajim.in
+++ b/scripts/gajim.in
@@ -26,9 +26,9 @@ if test $(id -u) -eq 0; then
 	exit 1
 fi
 
-export datadir=@DATADIR@
+export datadir=@DATADIR@/gajim
 PYTHON_EXEC=@PYTHON@
 
-cd ${datadir}/gajim/src
+cd ${datadir}/src
 export PYTHONPATH="$PYTHONPATH:@LIBDIR@/gajim"
 exec ${PYTHON_EXEC} -OO gajim.py $@