|
|
|
@ -123,6 +123,7 @@ void on_load(){
|
|
|
|
char *pack_signed = NULL;
|
|
|
|
char *pack_signed = NULL;
|
|
|
|
yon_window_config_get_parameter("signatures",parameter_string,&pack_signed,YON_TYPE_STRING);
|
|
|
|
yon_window_config_get_parameter("signatures",parameter_string,&pack_signed,YON_TYPE_STRING);
|
|
|
|
FILE *file = popen(get_saved_package_info_command(path,parameter_string),"r");
|
|
|
|
FILE *file = popen(get_saved_package_info_command(path,parameter_string),"r");
|
|
|
|
|
|
|
|
printf("%s\n",get_saved_package_info_command(path,parameter_string));
|
|
|
|
char *cur_string=g_malloc0(sizeof(char)*4096);
|
|
|
|
char *cur_string=g_malloc0(sizeof(char)*4096);
|
|
|
|
char *packname=NULL, *packver=NULL, *packarch=NULL, *packdepends=NULL;
|
|
|
|
char *packname=NULL, *packver=NULL, *packarch=NULL, *packdepends=NULL;
|
|
|
|
while (fgets(cur_string,4096,file)){
|
|
|
|
while (fgets(cur_string,4096,file)){
|
|
|
|
@ -139,6 +140,7 @@ void on_load(){
|
|
|
|
else
|
|
|
|
else
|
|
|
|
for (int j=0;j<packsize;j++){
|
|
|
|
for (int j=0;j<packsize;j++){
|
|
|
|
char *command = get_saved_package_info_command(path,packs[j]);
|
|
|
|
char *command = get_saved_package_info_command(path,packs[j]);
|
|
|
|
|
|
|
|
printf("%s\n",get_saved_package_info_command(path,parameter_string));
|
|
|
|
char *pack_signed = NULL;
|
|
|
|
char *pack_signed = NULL;
|
|
|
|
yon_window_config_get_parameter("signatures",packs[j],&pack_signed,YON_TYPE_STRING);
|
|
|
|
yon_window_config_get_parameter("signatures",packs[j],&pack_signed,YON_TYPE_STRING);
|
|
|
|
FILE *file = popen(command,"r");
|
|
|
|
FILE *file = popen(command,"r");
|
|
|
|
|