* - adding folder for documentation
[mdictionary] / add_dict
index 7f0ad71..6919957 100755 (executable)
--- a/add_dict
+++ b/add_dict
@@ -9,11 +9,11 @@ else
                echo "Dictionary name wasn't specified. Run without parameters to get help."
        else
                if [ -e $1 ]; then
-                       gconftool-2 --type string --set /apps/maemo/WhiteStork/Dictionaries/$2/name "$2"
-                       gconftool-2 --type string --set /apps/maemo/WhiteStork/Dictionaries/$2/path "`pwd`/$1"
-                       gconftool-2 --type boolean --set /apps/maemo/WhiteStork/Dictionaries/$2/active false
-                       gconftool-2 --type boolean --set /apps/maemo/WhiteStork/Dictionaries/$2/optimized false
-                       gconftool-2 -R /apps/maemo/WhiteStork/Dictionaries/$2
+                       gconftool-2 --type string --set /apps/maemo/mdictionary/dictionaries/$2/name "$2"
+                       gconftool-2 --type string --set /apps/maemo/mdictionary/dictionaries/$2/path "`pwd`/$1"
+                       gconftool-2 --type boolean --set /apps/maemo/mdictionary/dictionaries/$2/active false
+                       gconftool-2 --type boolean --set /apps/maemo/mdictionary/dictionaries/$2/optimized false
+                       gconftool-2 -R /apps/maemo/mdictionary/dictionaries/$2
                else
                        echo "Dictionary file couldn't be found. Run without parameters to get help."