Command fix for deprecated keys

pull/7/head
parent 6400e7e598
commit 4a849a874f

@ -442,7 +442,6 @@ void on_repo_sign(GtkWidget *self, main_window *widgets){
window->CloseButton = yon_gtk_builder_get_widget(builder,"repoSignCancelButton");
int size=0;
printf("%s\n",get_gpg_keys_command);
config_str ret = yon_config_load(get_gpg_keys_command,&size);
for (int i=0;i<size;i++){
ret[i] = yon_char_divide_search(ret[i],"\n",-1);

@ -42,7 +42,7 @@ typedef char* string;
#define get_package_info_command(filename) yon_char_unite("LC_ALL=EN pacman -Q --info --file ",filename," ||sed -e 's/ */ /g' -e 's/ : /:/g' -e 's/\\n/ /g'",NULL)
#define get_saved_package_info_command(path,filename) yon_char_unite("LC_ALL=EN pacman -Q --info --file $(find \"",path,"\" -name *",filename,"* -not -name *.sig |head -n 1)|sed -e 's/ */ /g' -e 's/ : /:/g' -e 's/\\n/ /g'",NULL)
#define get_gpg_keys_command yon_char_unite(yon_ubl_check_root()==1 ? yon_char_unite("su - ",yon_ubl_root_user_get()," -c \"gpg --list-signatures\"",NULL):"gpg --list-signatures"," | grep '^sig 3' | cut -d' ' -f10,11,13- | sort -u |sed -e 's/[0-9]*-[0-9]*-[0-9]* //g'",NULL)
#define get_gpg_keys_command yon_char_unite(yon_ubl_check_root()==1 ? yon_char_unite("su - ",yon_ubl_root_user_get()," -c \"gpg --list-signatures\"",NULL):"gpg --list-signatures"," | grep '^sig 3' |grep -Ev \"[|]\" | cut -d' ' -f10,11,13- | sort -u |sed -e 's/[0-9]*-[0-9]*-[0-9]* //g'",NULL)
string version_application;

Loading…
Cancel
Save