From 0645d5877476c06b54eacbf15fda5731cf8339ec Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sat, 8 May 2010 23:37:21 -0300 Subject: Adding /usr/local/bin/reprepro-export-key --- templates/reprepro-export-key.sh.erb | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 templates/reprepro-export-key.sh.erb (limited to 'templates') diff --git a/templates/reprepro-export-key.sh.erb b/templates/reprepro-export-key.sh.erb new file mode 100644 index 0000000..f6584ae --- /dev/null +++ b/templates/reprepro-export-key.sh.erb @@ -0,0 +1,4 @@ +#!/bin/bash + +KEY="`gpg --with-colon --list-secret-keys | cut -d : -f 5 | head -1`" +gpg --export -a $KEY > <%= basedir %>/key.asc -- cgit v1.2.3