Description: pre-set SIGIL_DICTIONARIES to the system dictionaries in /usr/share/hunspell
Author: Mattia Rizzolo <mattia@mapreri.org>
Forwarded: not-needed
Last-Update: 2015-10-15

--- a/src/Resource_Files/bash/sigil-sh_install
+++ b/src/Resource_Files/bash/sigil-sh_install
@@ -26,5 +26,11 @@
 
 export LD_LIBRARY_PATH
 
+# Use the system dictionaries
+if [ -z "$SIGIL_DICTIONARIES" ]; then
+    SIGIL_DICTIONARIES=/usr/share/hunspell
+    export SIGIL_DICTIONARIES
+fi
+
 exec ${CMAKE_INSTALL_PREFIX}/lib/sigil/sigil "$@"
 
