|
|
|
|
@ -22,8 +22,9 @@ void *on_quick_install_start(void *data){
|
|
|
|
|
|
|
|
|
|
g_idle_add((GSourceFunc)yon_progress_bar_start,widgets);
|
|
|
|
|
if (!main_config.dry_run){
|
|
|
|
|
if (!main_config.config_load_path) main_config.config_load_path = yon_char_new("system");
|
|
|
|
|
char *command = yon_debug_output("%s\n",auto_install_command(main_config.config_load_path));
|
|
|
|
|
char *install_path = main_config.config_load_path;
|
|
|
|
|
if (!install_path) install_path = "system";
|
|
|
|
|
char *command = yon_debug_output("%s\n",auto_install_command(install_path));
|
|
|
|
|
yon_debug_output("%s\n","Entered installation");
|
|
|
|
|
if (system(yon_debug_output("%s\n",command))){
|
|
|
|
|
|
|
|
|
|
@ -59,8 +60,9 @@ void *on_auto_install_start(void *data){
|
|
|
|
|
|
|
|
|
|
g_idle_add((GSourceFunc)yon_progress_bar_start,widgets);
|
|
|
|
|
if (!main_config.dry_run){
|
|
|
|
|
if (!main_config.config_load_path) main_config.config_load_path = yon_char_new("system");
|
|
|
|
|
char *command = yon_debug_output("%s\n",auto_install_command(main_config.config_load_path));
|
|
|
|
|
char *install_path = main_config.config_load_path;
|
|
|
|
|
if (!install_path) install_path = "system";
|
|
|
|
|
char *command = yon_debug_output("%s\n",auto_install_command(install_path));
|
|
|
|
|
yon_debug_output("%s\n","Entered installation");
|
|
|
|
|
if (system(yon_debug_output("%s\n",command))){
|
|
|
|
|
|
|
|
|
|
|