Remove unnecessary chmod command

This commit is contained in:
probablycorey
2014-02-14 17:42:42 -08:00
parent 02a8a41427
commit bec5c9c9c9

View File

@@ -14,11 +14,7 @@ symlinkCommand = (sourcePath, destinationPath, callback) ->
if error?
callback(error)
else
fs.symlink sourcePath, destinationPath, (error) ->
if error?
callback(error)
else
fs.chmod(destinationPath, '755', callback)
fs.symlink sourcePath, destinationPath, callback
symlinkCommandWithPrivilegeSync = (sourcePath, destinationPath) ->
if runas('/bin/rm', ['-f', destinationPath], admin: true) != 0