diff --git a/source/ubl-settings-repomanager.c b/source/ubl-settings-repomanager.c index bc84955..e30ee8d 100644 --- a/source/ubl-settings-repomanager.c +++ b/source/ubl-settings-repomanager.c @@ -231,9 +231,7 @@ void on_save(){ packnames = yon_char_unite(packnames ? yon_char_append(packnames," "):"",pack_sign_paths,NULL); if (pack_sign&&pack_signed==1){ char *package_full_name = yon_char_new(pack_path); - printf("%s\n",package_full_name); yon_char_divide(package_full_name,yon_char_find_last(package_full_name,'/')); - printf("%s\n",package_full_name); yon_window_config_add_custom_parameter(package_full_name,"signatures",yon_char_new(pack_sign),YON_TYPE_STRING); yon_char_divide_search(pack_sign,"<",-1); pack_sign=yon_char_divide_search(pack_sign,">",-1); @@ -291,11 +289,11 @@ void on_save(){ } if (!add_packages&&!signed_packages&&!remove_packages&&repostatus==1) add_command = yon_char_unite(command, " add -d \"",origin_flagged,"\" -r \"",name_flagged,sign_flagged ? yon_char_append("\" --sign-repo ",sign_flagged):"\"" ,NULL); - if (add_signed_command){/*printf("%s\n",add_signed_command);*/ system(add_signed_command); + if (add_signed_command){ system(add_signed_command); yon_ubl_status_box_render(OPERATION_DONE_LABEL,BACKGROUND_IMAGE_SUCCESS_TYPE);} - if (add_command) {/*printf("%s\n",add_command);*/system(add_command); + if (add_command) { system(add_command); yon_ubl_status_box_render(OPERATION_DONE_LABEL,BACKGROUND_IMAGE_SUCCESS_TYPE);} - if (remove_command) {/*printf("%s\n",remove_command);*/system(remove_command); + if (remove_command) { system(remove_command); yon_ubl_status_box_render(OPERATION_DONE_LABEL,BACKGROUND_IMAGE_SUCCESS_TYPE);} if (pack_groups){ dictionary *dct; @@ -311,6 +309,7 @@ void on_save(){ } } + printf("%s\n",repo_sign_flagged ? repo_sign_flagged:"Null"); if (repo_sign_flagged){ char *repo_sign_command = yon_char_unite(command, " add -f -d ",origin_flagged, " -r ", name_flagged, " --sign-repo ", repo_sign_flagged ,NULL); yon_window_config_add_custom_parameter(yon_char_unite(origin_flagged,NULL),"signatures",repo_sign_flagged_full,YON_TYPE_STRING);