summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-05-09 11:28:49 -0300
committerSilvio Rhatto <rhatto@riseup.net>2010-05-09 11:28:49 -0300
commitec1303d1569ded6888a04830be97b9d2bbd65a9b (patch)
tree325ba5960ab43d0565c40fc86c42315de5ba880b
parent490d2b461ae7d6d016c93d042d2cf4561a324ebb (diff)
downloadpuppet-reprepro-ec1303d1569ded6888a04830be97b9d2bbd65a9b.tar.gz
puppet-reprepro-ec1303d1569ded6888a04830be97b9d2bbd65a9b.tar.bz2
Trying to sort out why reprepro-export-key is not working (7)
-rw-r--r--templates/reprepro-export-key.sh.erb2
1 files changed, 0 insertions, 2 deletions
diff --git a/templates/reprepro-export-key.sh.erb b/templates/reprepro-export-key.sh.erb
index 616e77d..c048dc1 100644
--- a/templates/reprepro-export-key.sh.erb
+++ b/templates/reprepro-export-key.sh.erb
@@ -1,7 +1,5 @@
#!/bin/bash
-/usr/bin/gpg --homedir <%= basedir %>/.gnupg --with-colon --list-secret-keys | /usr/bin/cut -d : -f 5 | /usr/bin/head -1 &> <%= basedir %>/key.log
-
KEY="`/usr/bin/gpg --homedir <%= basedir %>/.gnupg --with-colon --list-secret-keys | /usr/bin/cut -d : -f 5 | /usr/bin/head -1`"
if [ ! -z "$KEY" ]; then