Permalink
Browse files

preinstall works

  • Loading branch information...
lepture committed Jul 30, 2013
1 parent 0d14f39 commit c05459a0acab4704445aedcf3cda341344cc3f40
Showing with 3 additions and 2 deletions.
  1. +0 −1 .npmignore
  2. +1 −1 package.json
  3. +2 −0 scripts/preinstall.js
View
@@ -32,4 +32,3 @@ _site/
tests/
docs/
_theme/
-scripts/
View
@@ -1,6 +1,6 @@
{
"name": "spm",
- "version": "2.1.9",
+ "version": "2.1.10",
"preferGlobal": "true",
"description": "Static Package Manager",
"author": "Hsiaoming Yang <me@lepture.com>",
View
2 scripts/preinstall.js 100644 → 100755
@@ -1,3 +1,5 @@
+#!/usr/bin/env node
+
if (process.getuid && process.getuid() === 0) {
console.log('');
console.log('NO SUDO PLEASE!!!')

0 comments on commit c05459a

Please sign in to comment.