Mercurial > hg > xemacs-beta
diff lisp/package-admin.el @ 327:03446687b7cc r21-0-61
Import from CVS: tag r21-0-61
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:48:16 +0200 |
parents | f2b5d7006b0a |
children | 4f79e16b1112 |
line wrap: on
line diff
--- a/lisp/package-admin.el Mon Aug 13 10:47:36 2007 +0200 +++ b/lisp/package-admin.el Mon Aug 13 10:48:16 2007 +0200 @@ -38,7 +38,9 @@ (defvar package-admin-temp-buffer "*Package Output*" "Temporary buffer where output of backend commands is saved.") -(defvar package-admin-install-function 'package-admin-default-install-function +(defvar package-admin-install-function (if (eq system-type 'windows-nt) + 'package-admin-install-function-mswindows + 'package-admin-default-install-function) "The function to call to install a package. Three args are passed: FILENAME PKG-DIR BUF Install package FILENAME into directory PKG-DIR, with any messages output @@ -126,7 +128,7 @@ (let ((default-directory (file-name-as-directory pkg-dir))) (unless (file-directory-p default-directory) (make-directory default-directory t)) - (call-process "djtar" nil buf t "-x" file))) + (call-process "minitar" nil buf t file))) (defun package-admin-default-install-function (file pkg-dir buf) "Default function to install a package.