Skip to content

Commit

Permalink
[doc] update create-mime.conf.pl compression types
Browse files Browse the repository at this point in the history
update create-mime.conf.pl compression types for .tbz and .tar.bz2
add .tgz to create-mime.conf.pl; already listed in mimetypes_default[]

[gstrauss: edited commit message]

x-ref:
  "[script + doc] Update tar.bz2 mime type"
  #140

github: closes #140
  • Loading branch information
ToMe25 authored and gstrauss committed Sep 18, 2024
1 parent 9c3c953 commit 7e1ab99
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions doc/scripts/create-mime.conf.pl
Original file line number Diff line number Diff line change
Expand Up @@ -177,10 +177,11 @@ sub print_type {

# other useful mappings
my %useful = (
".tgz" => "application/x-gtar-compressed",
".tar.gz" => "application/x-gtar-compressed",
".gz" => "application/gzip",
".tbz" => "application/x-gtar-compressed",
".tar.bz2" => "application/x-gtar-compressed",
".tbz" => "application/x-bzip-compressed-tar",
".tar.bz2" => "application/x-bzip-compressed-tar",
".bz2" => "application/x-bzip2",
".log" => "text/plain",
".conf" => "text/plain",
Expand Down

0 comments on commit 7e1ab99

Please sign in to comment.