summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/reprepro-export-key.sh.erb1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/reprepro-export-key.sh.erb b/templates/reprepro-export-key.sh.erb
index 1afcef8..e619e24 100644
--- a/templates/reprepro-export-key.sh.erb
+++ b/templates/reprepro-export-key.sh.erb
@@ -6,4 +6,5 @@ if [ ! -z "$KEY" ]; then
tempfile=$(mktemp)
gpg --homedir <%= basedir %>/.gnupg --export --armor $KEY > "$tempfile"
mv "$tempfile" <%= basedir %>/key.asc
+ chmod 0664 <%= basedir %>/key.asc
fi