diff lisp/package-get.el @ 683:eddbb88c3e02

[xemacs-hg @ 2001-12-02 22:06:19 by adrian] [PATCH APPROVE COMMIT] xemacs-21.5: Use exec-suffix-list with locate-file in lisp/package-get.el <8zcl46l9.fsf@mailto.t-online.de>
author adrian
date Sun, 02 Dec 2001 22:06:19 +0000
parents e558c78d22f8
children a307f9a2021d
line wrap: on
line diff
--- a/lisp/package-get.el	Sun Dec 02 15:27:38 2001 +0000
+++ b/lisp/package-get.el	Sun Dec 02 22:06:19 2001 +0000
@@ -443,11 +443,11 @@
 		(setq package-get-continue-update-base nil)
 		(autoload 'mc-setversion "mc-setversion")
 		(or
-		 (cond ((locate-file "gpg" exec-path)
+		 (cond ((locate-file "gpg" exec-path exec-suffix-list)
 			(mc-setversion "gpg"))
-		       ((locate-file "pgpe" exec-path)
+		       ((locate-file "pgpe" exec-path exec-suffix-list)
 			(mc-setversion "5.0"))
-		       ((locate-file "pgp" exec-path)
+		       ((locate-file "pgp" exec-path exec-suffix-list)
 			(mc-setversion "2.6")))
 		 (error "Can't find a suitable pgp executable"))
 		(autoload 'mc-verify "mc-toplev")