src/installer.js
function (options, dir, callback) {
  var copyrightFile = path.join(dir, 'share/doc', options.id, 'copyright')
  options.logger('Creating copyright file at ' + copyrightFile)

  async.waterfall([
    async.apply(readLicense, options),
    async.apply(fs.outputFile, copyrightFile)
  ], function (err) {
    callback(err && new Error('Error creating copyright file: ' + (err.message || err)))
  })
}
function (options, dir, callback) {
  var copyrightFile = path.join(dir, 'share/doc', options.id, 'copyright')
  options.logger('Creating copyright file at ' + copyrightFile)

  async.waterfall([
    async.apply(readLicense, options),
    async.apply(fs.outputFile, copyrightFile)
  ], function (err) {
    callback(err && new Error('Error creating copyright file: ' + (err.message || err)))
  })
}
function ( options , dir , callback ) { var copyrightFile = path . join ( dir , 'share/doc' , options . id , 'copyright' ) options . logger ( 'Creating copyright file at ' + copyrightFile ) async . waterfall ( [ async . apply ( readLicense , options ) , async . apply ( fs . outputFile , copyrightFile ) ] , function ( err ) { callback ( err && new Error ( 'Error creating copyright file: ' + ( err . message || err ) ) ) } ) }
Create copyright for the package.
Create copyright for the package .