Removing deendecy on touch, and no longer updating filemod time on package.json on upgrade

This commit is contained in:
Julian Lam
2015-09-24 12:03:57 -04:00
parent 3d73fbf74a
commit ae856395c3
2 changed files with 1 additions and 7 deletions

7
nodebb
View File

@@ -4,8 +4,7 @@ var colors = require('colors'),
cproc = require('child_process'),
argv = require('minimist')(process.argv.slice(2)),
fs = require('fs'),
async = require('async'),
touch = require('touch');
async = require('async');
var getRunningPid = function(callback) {
fs.readFile(__dirname + '/pidfile', {
@@ -140,10 +139,6 @@ switch(process.argv[2]) {
});
upgradeProc.on('close', next)
},
function(next) {
process.stdout.write('3. '.bold + 'Storing upgrade date in "package.json"... '.yellow);
touch(__dirname + '/package.json', {}, next);
}
], function(err) {
if (err) {

View File

@@ -68,7 +68,6 @@
"socketio-wildcard": "~0.1.1",
"string": "^3.0.0",
"templates.js": "0.2.15",
"touch": "1.0.0",
"uglify-js": "^2.4.24",
"underscore": "~1.8.3",
"underscore.deep": "^0.5.1",