From: Marco Centurion Date: Wed, 1 Sep 2021 07:37:12 +0000 (+0200) Subject: Use "gzip -d" instead of "gunzip" X-Git-Tag: emacs-28.0.90~1243 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a0be0cdbd23947e59b4108125a20c7f9c800a052;p=emacs.git Use "gzip -d" instead of "gunzip" * lisp/dired-aux.el (dired-compress-file-suffixes): Use "gzip -d" instead of "gunzip" since we already assume that "gzip" exists on the system (bug#10990). Copyright-paperwork-exempt: yes --- diff --git a/lisp/dired-aux.el b/lisp/dired-aux.el index 0b8c693b29f..8e00af8f96b 100644 --- a/lisp/dired-aux.el +++ b/lisp/dired-aux.el @@ -1137,12 +1137,12 @@ present. A FMT of \"\" will suppress the messaging." ("\\.tar\\.gz\\'" "" "gzip -dc %i | tar -xf -") ("\\.tar\\.xz\\'" "" "xz -dc %i | tar -xf -") ("\\.tgz\\'" "" "gzip -dc %i | tar -xf -") - ("\\.gz\\'" "" "gunzip") + ("\\.gz\\'" "" "gzip -d") ("\\.lz\\'" "" "lzip -d") ("\\.Z\\'" "" "uncompress") ;; For .z, try gunzip. It might be an old gzip file, ;; or it might be from compact? pack? (which?) but gunzip handles both. - ("\\.z\\'" "" "gunzip") + ("\\.z\\'" "" "gzip -d") ("\\.dz\\'" "" "dictunzip") ("\\.tbz\\'" ".tar" "bunzip2") ("\\.bz2\\'" "" "bunzip2")