MarcWeber / vim-addon-manager

manage and install vim plugins (including their dependencies) in a sane way. If you have any trouble contact me. Usually I reply within 24 hours
Other
660 stars 59 forks source link

tree plugin can't be installed when p7zip is installed #49

Open ZyX-I opened 13 years ago

ZyX-I commented 13 years ago

After unpacking tree.tgz archive there is tree.tar.tar left, while expected only tree.tar. Not sure how this should be fixed: real problem is that gzip saves original file name (while non of xz, lzma and bzip2 utilities are doing the same) and 7z fairly extracts it (for other utilities it reconstructs it using archive file name; it is not documented in man page, but I played with renaming archives without changing their contents and it seems like I am true).

Plugin in question: http://www.vim.org/scripts/script.php?script_id=1139.

ZyX-I commented 13 years ago

One possible solution is to check what appeared in the archive directory (and hope nobody named tar archive a.tar.gz, gzipped it and renamed to a.tar.gz).