[Pkg-javascript-commits] [SCM] library for mime-type mapping for NodeJS branch, master, updated. debian/1.2.4-2-13-gfd3bd52

Jérémy Lal kapouer at melix.org
Sat Mar 23 16:55:46 UTC 2013


The following commit has been merged in the master branch:
commit f5c5bee6c67e00f7e875b6673b53a26d20aaa194
Author: Jérémy Lal <kapouer at melix.org>
Date:   Sat Mar 23 17:32:25 2013 +0100

    Refresh patch, change header to match better DEP-3

diff --git a/debian/patches/00-fix_support_files_location.patch b/debian/patches/00-fix_support_files_location.patch
index aad340e..64b9df3 100644
--- a/debian/patches/00-fix_support_files_location.patch
+++ b/debian/patches/00-fix_support_files_location.patch
@@ -1,24 +1,24 @@
-From: David Paleino <dapal at debian.org>
-Subject: move *.types to /usr/share/node-mime/
-Origin: vendor
-Forwarded: no
+Description: move *.types to /usr/share/node-mime/
+Forwarded: not-needed
+Author: David Paleino <dapal at debian.org>
+Last-Update: 2013-03-23
 
 ---
  mime.js |    4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
 
---- node-mime.orig/mime.js
-+++ node-mime/mime.js
-@@ -83,10 +83,10 @@ var mime = module.exports = {
+--- a/mime.js
++++ b/mime.js
+@@ -86,10 +86,10 @@
  
- // Load our local copy of
+ // Load local copy of
  // http://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types
 -mime.load(path.join(__dirname, 'types/mime.types'));
 +mime.load('/usr/share/node-mime/mime.types');
  
- // Overlay enhancements submitted by the node.js community
+ // Load additional types from node.js community
 -mime.load(path.join(__dirname, 'types/node.types'));
 +mime.load('/usr/share/node-mime/node.types');
  
- // Set the default type
- mime.default_type = mime.types.bin;
+ // Default type
+ mime.default_type = mime.lookup('bin');

-- 
library for mime-type mapping for NodeJS



More information about the Pkg-javascript-commits mailing list