         do complete
 
 # Build the .deb installer
-build_debian_installer = actions['deb'] = actions['debian'] = ( complete ) ->
+build_debian_installer = actions['debian_installer'] = ( complete ) ->
     complete ?= (-> null)
     release_dir = path.join(scriptdir, 'releases', 'pman-linux-x64')
     installers_dir = path.join(scriptdir, 'installers')
     
+    console.log "creating debian installer for pman"
     options =
         src  : release_dir
         dest : installers_dir

            console.error( error )
        else
            console.log " -- Created Debian Installer for PMan -- "
            do complete

    deb_installer(options, dicb)

# 'main' function
do ->
    # get parameters
    actionNames = process.argv[2..]
    tasks = do ->
        for name in actionNames
            if name of actions
                actions[name]
    
    taskCallback = (error) ->
        if error?
            console.error error


packager = require 'electron-packager'
deb_installer = require 'electron-installer-debian'
win_installer = require 'electron-installer-windows'

scriptdir = (__dirname + '')

