diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2010-05-08 23:37:21 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2010-05-08 23:37:21 -0300 |
commit | 0645d5877476c06b54eacbf15fda5731cf8339ec (patch) | |
tree | de364b3501de71bb52ab44bfff9c3ac76d3ab99e /templates | |
parent | b83a46139cecbf9cdf8c6c8469f1b1e79556d4a2 (diff) |
Adding /usr/local/bin/reprepro-export-key
Diffstat (limited to 'templates')
-rw-r--r-- | templates/reprepro-export-key.sh.erb | 4 |
1 files changed, 4 insertions, 0 deletions
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 |