]> granicus.if.org Git - file/commitdiff
Add text/x-lua MIME type for Lua scripts.
authorReuben Thomas <rrt@sc3d.org>
Mon, 25 Aug 2008 23:56:32 +0000 (23:56 +0000)
committerReuben Thomas <rrt@sc3d.org>
Mon, 25 Aug 2008 23:56:32 +0000 (23:56 +0000)
magic/Magdir/lua

index 303fd3798e1f9fc2e2d71c9fcd45f591cd073a3e..9aa87b159c22bd137c59c59dfb6f3691e03370aa 100644 (file)
@@ -5,9 +5,13 @@
 
 # Lua scripts
 0      search/1/b      #!\ /usr/bin/lua        Lua script text executable
+!:mime text/x-lua
 0      search/1/b      #!\ /usr/local/bin/lua  Lua script text executable
+!:mime text/x-lua
 0      search/1        #!/usr/bin/env\ lua     Lua script text executable
+!:mime text/x-lua
 0      search/1        #!\ /usr/bin/env\ lua   Lua script text executable
+!:mime text/x-lua
 
 # Lua bytecode
 0      string          \033Lua                 Lua bytecode,