|
|
|
@ -420,7 +420,6 @@ int yon_ubl_setup_arguments(int argc, char *argv[],config_str *unfound_arguments
|
|
|
|
case 'c': char *path = yon_char_unite(yon_ubl_user_get_home_directory(),"/.config/",template_app_information.app_tech_name,"/",NULL);
|
|
|
|
case 'c': char *path = yon_char_unite(yon_ubl_user_get_home_directory(),"/.config/",template_app_information.app_tech_name,"/",NULL);
|
|
|
|
struct passwd *user = getpwnam(yon_ubl_root_user_get());
|
|
|
|
struct passwd *user = getpwnam(yon_ubl_root_user_get());
|
|
|
|
if (chown(path,user->pw_uid,user->pw_gid)){};
|
|
|
|
if (chown(path,user->pw_uid,user->pw_gid)){};
|
|
|
|
chmod (path,0644);
|
|
|
|
|
|
|
|
if (system(remove_config_dir_command)){};
|
|
|
|
if (system(remove_config_dir_command)){};
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
case 'd': template_config->debug_mode=1;
|
|
|
|
case 'd': template_config->debug_mode=1;
|
|
|
|
|