src/installer.js
/**
   * Creates the control file for the package.
   *
   * See: https://www.debian.org/doc/debian-policy/ch-controlfields.html
   */
Creates the control file for the package.
Creates the control file for the package .
createControl () {
    const src = path.resolve(__dirname, '../resources/control.ejs')
    const dest = path.join(this.stagingDir, 'DEBIAN', 'control')
    this.options.logger(`Creating control file at ${dest}`)
    return common.wrapError('creating control file', async () => this.createTemplatedFile(src, dest))
  }
createControl ( ) { const src = path . resolve ( __dirname , '../resources/control.ejs' ) const dest = path . join ( this . stagingDir , 'DEBIAN' , 'control' ) this . options . logger ( ` ${ dest } ` ) return common . wrapError ( 'creating control file' , async ( ) => this . createTemplatedFile ( src , dest ) ) }
Creates the control file for the package.
Creates the control file for the package .