4 gboolean
install_conf() {
5 gchar
*our_conf_uri
= "systemd-utl/xml-conf/";
6 gchar
**data_dir
= g_get_system_data_dirs();
8 if(g_strcmp0(data_dir
[0], NULL
)) {
9 const gchar our_conf_path
[256];
10 g_snprintf(our_conf_path
, sizeof our_conf_path
, "%s%s", *data_dir
, our_conf_uri
);
13 /*TODO permissions w/ this */
14 g_mkdir_with_parents(our_conf_path
, 0644);
16 return (errors
[0] == NULL
);