Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

package yum: clean up

  • Loading branch information...
commit f8d3dcaca763690bca643622476a8a6949f1b639 1 parent cb6b216
@okkez okkez authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 package/yum/gpg-public-key.sh
View
5 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
Please sign in to comment.
Something went wrong with that request. Please try again.