Discussion:
git: 0030e0f18a - main - Remove comment and CSS class from the pgpkeys.txt file
Sergio Carlavilla Delgado
2021-05-23 19:01:20 UTC
Permalink
The branch main has been updated by carlavilla:

URL: https://cgit.FreeBSD.org/doc/commit/?id=0030e0f18adf90701e4e8137550c0f036804e2cb

commit 0030e0f18adf90701e4e8137550c0f036804e2cb
Author: Sergio Carlavilla Delgado <***@FreeBSD.org>
AuthorDate: 2021-05-23 19:00:35 +0000
Commit: Sergio Carlavilla Delgado <***@FreeBSD.org>
CommitDate: 2021-05-23 19:00:35 +0000

Remove comment and CSS class from the pgpkeys.txt file
---
documentation/tools/global-pgpkeys-creator.rb | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/documentation/tools/global-pgpkeys-creator.rb b/documentation/tools/global-pgpkeys-creator.rb
index 37eb94fe32..72825f613e 100644
--- a/documentation/tools/global-pgpkeys-creator.rb
+++ b/documentation/tools/global-pgpkeys-creator.rb
@@ -22,7 +22,9 @@ end

def processPGPKey(keyFile, pgpKeysFile)
File.readlines(keyFile).each do |line|
- pgpKeysFile.puts(line)
+ if not line.include? "// sh addkey.sh" and not line.include? "[.literal-block-margin]"
+ pgpKeysFile.puts(line)
+ end
end
end

Loading...