File datadir.patch of Package freespeech

diff --git a/freespeech.py b/freespeech.py
index bbd64a3..046e9b3 100755
--- a/freespeech.py
+++ b/freespeech.py
@@ -38,6 +38,7 @@ from send_key import *
 """ global variables """
 appname = 'FreeSpeech'
 refdir = 'lm'
+datadir = '/usr/share/freespeech'
 
 # hmmm, where to put files? How about XDG_CONFIG_HOME?
 # This will work on most Linux
@@ -72,11 +73,12 @@ class freespeech(object):
             os.mkdir(confdir)
         # copy lang_ref to confdir if not exists
         if not os.access(lang_ref, os.R_OK):
-            lang_ref_orig = os.path.join(refdir, 'freespeech.ref.txt')
+            lang_ref_orig = os.path.join(datadir, 'freespeech.ref.txt')
             shutil.copy(lang_ref_orig, lang_ref)
         # copy dictionary to confdir if not exists
         if not os.access(dic, os.R_OK):
-            shutil.copy('custom.dic', dic)
+            dict_orig = os.path.join(datadir, 'custom.dic')
+            shutil.copy(dict_orig, dic)
         # initialize components
         self.init_gui()
         self.init_errmsg()