[core] Remove unecessary check for gzip executable on Windows
Turns out we don't use it at all. Also tar.exe is part of the standard MS Windows 10 distribution, it is installed in system32 directory.
This commit is contained in:
parent
b800694d32
commit
4a8a8b04af
|
@ -2686,15 +2686,6 @@ MSG is an additional message append to the generic error."
|
|||
(spacemacs-buffer/set-mode-line
|
||||
(format (concat "Downloading stable ELPA repository: %s... "
|
||||
"(please wait)") name) t)
|
||||
(if (and (spacemacs/system-is-mswindows)
|
||||
(not (executable-find "gzip")))
|
||||
;; additional check on Windows platform as tarball are not handled
|
||||
;; natively and requires the installation of gzip.
|
||||
(configuration-layer//executable-not-found-error
|
||||
"gzip"
|
||||
(concat
|
||||
"\nDownload and install gzip here: "
|
||||
"http://gnuwin32.sourceforge.net/packages/gzip.htm. "))
|
||||
;; download tarball and detached signature
|
||||
(make-directory configuration-layer-stable-elpa-directory t)
|
||||
(url-copy-file url local 'ok-if-already-exists)
|
||||
|
@ -2712,7 +2703,7 @@ MSG is an additional message append to the generic error."
|
|||
(erase-buffer)
|
||||
(beginning-of-buffer)
|
||||
(insert (format "%s" configuration-layer-stable-elpa-version))
|
||||
(save-buffer)))))))
|
||||
(save-buffer))))))
|
||||
|
||||
;; (configuration-layer/create-elpa-repository
|
||||
;; "spacelpa"
|
||||
|
|
Loading…
Reference in a new issue