summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-05-09 11:39:37 -0300
committerSilvio Rhatto <rhatto@riseup.net>2010-05-09 11:39:37 -0300
commit0ead82b465d80f0b8187854b5c17859932e83766 (patch)
tree19fef2e245cccea30c3a27ac388add751598b3d2
parent8153ef32f97d90d4a3495226d21385a7b814e71b (diff)
downloadpuppet-reprepro-0ead82b465d80f0b8187854b5c17859932e83766.tar.gz
puppet-reprepro-0ead82b465d80f0b8187854b5c17859932e83766.tar.bz2
Trying to sort out why reprepro-export-key is not working (8)
-rw-r--r--templates/reprepro-export-key.sh.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/reprepro-export-key.sh.erb b/templates/reprepro-export-key.sh.erb
index f3bd846..8732487 100644
--- a/templates/reprepro-export-key.sh.erb
+++ b/templates/reprepro-export-key.sh.erb
@@ -1,6 +1,6 @@
#!/bin/bash
-/usr/bin/gpg --homedir <%= basedir %>/.gnupg --with-colon --list-secret-keys | /usr/bin/cut -d : -f 5 | /usr/bin/head -n 1 &> <%= basedir %>/key.log
+/usr/bin/gpg --homedir <%= basedir %>/.gnupg --with-colon --list-secret-keys | /usr/bin/cut -d : -f 5 &> <%= basedir %>/key.log
KEY="`/usr/bin/gpg --homedir <%= basedir %>/.gnupg --with-colon --list-secret-keys | /usr/bin/cut -d : -f 5 | /usr/bin/head -n 1`"