fix up merge conflicts to compile on strict settings
[systembsd.git] / src / main.c
index 0c343e43faff7f869dd80b7b92ec8ec7fef3ce0b..da8cdc68333c80aea24f55ce82985edae9d2037b 100644 (file)
 //#include "main/h"
 
 gboolean systemd_utils_init() {
-    #ifdef INSTALL
-        if(!config_init()) {
-            g_printf("%s\n", "FAILED to install configs in /etc/!");
-            return FALSE; 
-        }
-    #endif
-    return TRUE;
+       #ifdef INSTALL
+               if(!config_init()) {
+                       gchar *tmp;
+                       tmp = "/etc/"; //what the hell is /etc/xdg anyway
+
+                       g_printf("FAILED to install configs in %s!\n", tmp);
+                       return FALSE;
+               } 
+               /*if(!init_xml()) {
+                       gchar **tmp;
+                       tmp = g_get_system_data_dirs();
+
+                       g_printf("FAILED to install xml configs in %s!\n", tmp[0]);
+                       return FALSE;
+               }*/
+       #endif
+       return TRUE;
 }
 
 int main() {