[Pkg-javascript-commits] [node-mime-types] 08/19: 0002-exports-mime.db.patch - export mime-db
Leo Iannacone
l3on-guest at moszumanska.debian.org
Fri Oct 10 10:12:36 UTC 2014
This is an automated email from the git hooks/post-receive script.
l3on-guest pushed a commit to branch master
in repository node-mime-types.
commit 8b04be94dcdcb20cce84fcc40cf72b15fae028b1
Author: Leo Iannacone <l3on at ubuntu.com>
Date: Tue Oct 7 11:40:45 2014 +0200
0002-exports-mime.db.patch - export mime-db
---
debian/patches/0002-exports-mime.db.patch | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/debian/patches/0002-exports-mime.db.patch b/debian/patches/0002-exports-mime.db.patch
new file mode 100644
index 0000000..dc09e35
--- /dev/null
+++ b/debian/patches/0002-exports-mime.db.patch
@@ -0,0 +1,18 @@
+Description: Export mime-db. If a package depends on it can use
+ this bundled version.
+Author: Leo Iannacone <l3on at ubuntu.com>
+Forwarded: not-needed
+
+---
+ index.js | 1 +
+ 1 file changed, 1 insertion(+)
+
+--- a/index.js
++++ b/index.js
+@@ -1,5 +1,6 @@
+
+ var db = require('mime-db')
++exports.db = db
+
+ // types[extension] = type
+ exports.types = Object.create(null)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-mime-types.git
More information about the Pkg-javascript-commits
mailing list