[neon/neon/keyring/Neon/unstable] debian: try and make gpg happy

Carlos De Maine null at kde.org
Mon Aug 26 04:05:26 BST 2024


Git commit 7565819c6739b2c21f083be98bcc72fc628bf789 by Carlos De Maine.
Committed on 26/08/2024 at 03:05.
Pushed by carlosdem into branch 'Neon/unstable'.

try and make gpg happy

M  +5    -0    debian/rules

https://invent.kde.org/neon/neon/keyring/-/commit/7565819c6739b2c21f083be98bcc72fc628bf789

diff --git a/debian/rules b/debian/rules
index a369087..63afd08 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,6 +6,11 @@
 binary: build_neon_keyring
 
 build_neon_keyring:
+	# create necessary dirs with required permissions
+	mkdir -p ~/.gnupg
+	chown -R $(whoami) ~/.gnupg/
+	chmod 600 ~/.gnupg/*
+	chmod 700 ~/.gnupg
 	# regenerate the keyrings to test
 	gpg --no-default-keyring --export-options export-minimal --keyring ./keyrings/neon-archive-keyring.gpg --output ./neon-archive-keyring.gpg --export 444DABCF3667D0283F894EDDE6D4736255751E5D
 	gpg --export --keyring ./neon-archive-keyring.gpg --export-options export-minimal --armor > neon-archive-keyring.asc


More information about the Neon-commits mailing list