summaryrefslogtreecommitdiff
path: root/templates/reprepro-export-key.sh.erb
blob: f6584ae7644013666a7da9733065be7c75a1d672 (plain)
1
2
3
4
#!/bin/bash

KEY="`gpg --with-colon --list-secret-keys | cut -d : -f 5 | head -1`"
gpg --export -a $KEY > <%= basedir %>/key.asc