diff options
author | kremlin <ian@kremlin.cc> | 2014-06-20 13:26:47 +0800 |
---|---|---|
committer | kremlin <ian@kremlin.cc> | 2014-06-20 13:26:47 +0800 |
commit | 5b435dd108feb27c4d14f71661b377a171969ea7 (patch) | |
tree | 64255ba4eed5e1cbcfd454356e1abab97b2460f1 /src/main.c | |
parent | d099276b7aa757106ca39df9dfdd208a71c984c9 (diff) | |
download | systembsd-5b435dd108feb27c4d14f71661b377a171969ea7.tar systembsd-5b435dd108feb27c4d14f71661b377a171969ea7.tar.gz systembsd-5b435dd108feb27c4d14f71661b377a171969ea7.tar.bz2 systembsd-5b435dd108feb27c4d14f71661b377a171969ea7.tar.lz systembsd-5b435dd108feb27c4d14f71661b377a171969ea7.tar.xz systembsd-5b435dd108feb27c4d14f71661b377a171969ea7.tar.zst systembsd-5b435dd108feb27c4d14f71661b377a171969ea7.zip |
goodnight
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 14 |
1 files changed, 12 insertions, 2 deletions
@@ -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; |