summaryrefslogtreecommitdiff
path: root/mail/pine4/files/pgpencrypt
diff options
context:
space:
mode:
Diffstat (limited to 'mail/pine4/files/pgpencrypt')
-rw-r--r--mail/pine4/files/pgpencrypt9
1 files changed, 8 insertions, 1 deletions
diff --git a/mail/pine4/files/pgpencrypt b/mail/pine4/files/pgpencrypt
index b727b6693153..3baa1d2739eb 100644
--- a/mail/pine4/files/pgpencrypt
+++ b/mail/pine4/files/pgpencrypt
@@ -1,4 +1,11 @@
#!/bin/sh
# ---------- pgpencrypt ---------
# 21.03.96 Roland Rosenfeld <roland@spinnaker.rhein.de>
-pgp -feast $*
+# Wed 16 Sep 1998 23:46:43 WST Anthony Di Pietro <anthony@dino.omen.com.au>
+# Modified to work with both PGP v2 and PGP v5.
+if [ -x /usr/local/bin/pgpe ]
+then
+ pgpe -s -a -r $*
+else
+ pgp -feast $*
+fi