aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c14
1 files changed, 12 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index 82d68f8..3e80e28 100644
--- a/src/main.c
+++ b/src/main.c
@@ -14,8 +14,18 @@
gboolean systemd_utils_init() {
#ifdef INSTALL
if(!config_init()) {
- g_printf("%s\n", "FAILED to install configs in /etc/!");
- return FALSE;
+ 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;