Implement filter for .7z files. Based on rclzip and rcltar
This commit is contained in:
@@ -119,6 +119,7 @@ application/x-shellscript = internal text/plain
|
||||
application/x-tex = exec rcltex
|
||||
application/x-webarchive = execm rclwar
|
||||
application/zip = execm rclzip;charset=default
|
||||
application/x-7z-compressed = execm rcl7z
|
||||
audio/mpeg = execm rclaudio
|
||||
audio/mp4 = execm rclaudio
|
||||
audio/aac = execm rclaudio
|
||||
@@ -220,6 +221,7 @@ application/x-tex = wordprocessing
|
||||
application/x-webarchive = archive
|
||||
application/xml = document
|
||||
application/zip = archive
|
||||
application/x-7z-compressed = archive
|
||||
audio/mpeg = sownd
|
||||
audio/x-karaoke = sownd
|
||||
image/bmp = image
|
||||
@@ -359,9 +361,10 @@ other = application/vnd.sun.xml.draw \
|
||||
application/x-fsdirectory \
|
||||
application/x-mimehtml \
|
||||
application/x-rar \
|
||||
application/x-tar \
|
||||
application/x-tar \
|
||||
application/x-webarchive \
|
||||
application/zip \
|
||||
application/zip \
|
||||
application/x-7z-compressed \
|
||||
inode/directory \
|
||||
inode/symlink \
|
||||
|
||||
|
||||
@@ -61,6 +61,7 @@
|
||||
.rar = application/x-rar
|
||||
#.Z = application/x-compress
|
||||
.zip = application/zip
|
||||
.7z = application/x-7z-compressed
|
||||
|
||||
# The rcltar module can handle compressed tar formats internally so we
|
||||
# use application/x-tar for all tar files compressed or not. Note that tar
|
||||
|
||||
@@ -124,6 +124,7 @@ application/x-okular-notes = okular %f
|
||||
application/x-rar = ark %f
|
||||
application/x-tar = ark %f
|
||||
application/zip = ark %f
|
||||
application/x-7z-compressed = ark %f
|
||||
|
||||
application/x-awk = emacsclient --no-wait %f
|
||||
application/x-perl = emacsclient --no-wait %f
|
||||
|
||||
@@ -107,6 +107,7 @@ application/x-okular-notes = okular %f
|
||||
application/x-rar = ark %f
|
||||
application/x-tar = ark %f
|
||||
application/zip = ark %f
|
||||
application/x-7z-compressed = ark %f
|
||||
|
||||
application/x-awk = emacsclient %f
|
||||
application/x-perl = emacsclient %f
|
||||
|
||||
Reference in New Issue
Block a user