summaryrefslogtreecommitdiff
path: root/deb-view.el
diff options
context:
space:
mode:
Diffstat (limited to 'deb-view.el')
-rw-r--r--deb-view.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/deb-view.el b/deb-view.el
index 072fc88..6d6515b 100644
--- a/deb-view.el
+++ b/deb-view.el
@@ -385,8 +385,7 @@ at the prompt."
(new-archive-format
;; New deb format (archive)
(call-process shell-file-name nil t nil shell-command-switch
- (concat "ar -p " debfile
- " control.tar.gz | gzip -cd"))
+ (concat "dpkg-deb --ctrl-tarfile " debfile))
(goto-char 1)
(setq buffer-file-name (concat deb-view-file-name "-INFO"))
(if (fboundp 'set-buffer-multibyte) (set-buffer-multibyte nil))