more sudo

This commit is contained in:
David Glasser
2013-03-14 17:57:56 -07:00
parent 66d3b6571f
commit 37e6cd7ac8

View File

@@ -93,7 +93,7 @@ var runWithRoot = function (cmd, args) {
var copyScriptLinux = function () {
runWithRoot("cp", [bootstrapScript, binary]);
fs.chmodSync(binary, 0755);
runWithRoot("chmod", [755, binary]);
};
var debUpgrade = function () {