Patch by Matt Madia (#4936 and #5154): Changed behavior for .bz2 and .gz files: Keep source compressed files.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34715 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
022cdb9ce3
commit
3a450d5f3d
@ -45,8 +45,8 @@ ExpanderRules::ExpanderRules()
|
||||
fList.AddItem(new ExpanderRule("", ".tar.Z", "tar -Ztvf %s", "tar -Zxf %s"));
|
||||
fList.AddItem(new ExpanderRule("", ".tgz", "tar -ztvf %s", "tar -zxf %s"));
|
||||
fList.AddItem(new ExpanderRule("application/x-tar", ".tar", "tar -tvf %s", "tar -xf %s"));
|
||||
fList.AddItem(new ExpanderRule("application/x-gzip", ".gz", "echo %s | sed 's/.gz$//g'", "gunzip %s"));
|
||||
fList.AddItem(new ExpanderRule("application/x-bzip2", ".bz2", "echo %s | sed 's/.bz2$//g'", "bunzip2 %s"));
|
||||
fList.AddItem(new ExpanderRule("application/x-gzip", ".gz", "echo %s | sed 's/.gz$//g'", "gunzip -c %s > `echo %s | sed 's/.gz$//g'`"));
|
||||
fList.AddItem(new ExpanderRule("application/x-bzip2", ".bz2", "echo %s | sed 's/.bz2$//g'", "bunzip2 -k %s"));
|
||||
fList.AddItem(new ExpanderRule("application/zip", ".zip", "unzip -l %s", "unzip -o %s"));
|
||||
fList.AddItem(new ExpanderRule("application/x-zip-compressed", ".zip", "unzip -l %s", "unzip -o %s"));
|
||||
fList.AddItem(new ExpanderRule("application/x-rar", ".rar", "unrar v %s", "unrar x -y %s"));
|
||||
|
Loading…
Reference in New Issue
Block a user