Permalink
Browse files

package yum: clean up

  • Loading branch information...
1 parent cb6b216 commit f8d3dcaca763690bca643622476a8a6949f1b639 @okkez okkez committed May 11, 2012
Showing with 3 additions and 2 deletions.
  1. +3 −2 package/yum/gpg-public-key.sh
@@ -1,10 +1,11 @@
#!/bin/sh
script_base_dir=`dirname $0`
+key_id=`$script_base_dir/gpg-uid.sh`
gpg --fingerprint > /dev/null
if test $? -nq 0; then
- gpg --keyserver pgp.mit.edu --recv-keys `$script_base_dir/gpg-uid.sh`
+ gpg --keyserver pgp.mit.edu --recv-keys $key_id
fi
-gpg -a --export `$script_base_dir/gpg-uid.sh`
+gpg -a --export $key_id

0 comments on commit f8d3dca

Please sign in to comment.