From 3fe841179a1f9cbd29fd03dba8b13af6e77d9bae Mon Sep 17 00:00:00 2001 From: Ivan Yarcev Date: Wed, 2 Jul 2025 12:09:34 +0600 Subject: [PATCH] Changed gpg key creation command --- source/ubl-settings-repomanager.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/ubl-settings-repomanager.h b/source/ubl-settings-repomanager.h index 7f09479..d5ea5f4 100644 --- a/source/ubl-settings-repomanager.h +++ b/source/ubl-settings-repomanager.h @@ -119,9 +119,9 @@ Key-Type: ",type,"\n\ Key-Length: 1024\n\ Subkey-Type: ELG-E\n\ Subkey-Length: ",strength,"\n\ -Name-Real: ",name,"\n\ -Name-Comment: ",comment,"\n\ -Name-Email: ",email,"\n\ +Name-Real: ",name,"\n",\ +!yon_char_is_empty(comment)?"Name-Comment: ":"",!yon_char_is_empty(comment)?comment:"",!yon_char_is_empty(comment)?"\n":""\ +"Name-Email: ",email,"\n\ Expire-Date: ",!yon_char_is_empty(expire)?expire:"0","\n\ Passphrase: ",password,"\n\ %commit\n\