summaryrefslogtreecommitdiffstats
path: root/tags/n/nodejs-module-installed-in-usr-lib.tag
diff options
context:
space:
mode:
Diffstat (limited to 'tags/n/nodejs-module-installed-in-usr-lib.tag')
-rw-r--r--tags/n/nodejs-module-installed-in-usr-lib.tag11
1 files changed, 11 insertions, 0 deletions
diff --git a/tags/n/nodejs-module-installed-in-usr-lib.tag b/tags/n/nodejs-module-installed-in-usr-lib.tag
new file mode 100644
index 0000000..3585495
--- /dev/null
+++ b/tags/n/nodejs-module-installed-in-usr-lib.tag
@@ -0,0 +1,11 @@
+Tag: nodejs-module-installed-in-usr-lib
+Severity: warning
+Check: languages/javascript/nodejs
+Explanation: This package installs the specified file under <code>/usr/lib/nodejs</code>.
+ Since the release of Buster, these files should be installed under
+ <code>/usr/share/nodejs</code> (for arch *independent* modules) or
+ <code>/usr/lib/$DEB&lowbar;HOST&lowbar;MULTIARCH/nodejs</code> (for arch *dependent* modules)
+ instead.
+ .
+ You can use pkg-js-tools auto installer to avoid this, see
+ <code>/usr/share/doc/pkg-js-tools/README.md.gz</code>