File: gpg

package info (click to toggle)
python-gnupg 0.3.6-1~deb7u1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 280 kB
  • sloc: python: 3,245; makefile: 30; sh: 6
file content (7 lines) | stat: -rwxr-xr-x 161 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
#!/bin/sh
GPG=`which -a gpg | uniq | tail -n+2 | head -n1`
if echo "$*" | grep -q gen-key; then
    exec "$GPG" --quick-random "$@"
else
    exec "$GPG" "$@"
fi