def _conf_packages(args):
from acorn.config import config_dir<EOL>from os import path<EOL>from acorn.base import testmode<EOL>target = config_dir(True)<EOL>alternate = path.join(path.abspath(path.expanduser("<STR_LIT>")), "<STR_LIT>")<EOL>if not testmode and target != alternate:<EOL><INDENT>msg.err("<STR_LIT>")<EOL>exit(<NUM_LIT:0>)<EOL><DEDENT>from acorn.utility import reporoot<EOL>from glob import glob<EOL>from os import chdir, getcwd<EOL>from shutil import copy<EOL>current = getcwd()<EOL>source = path.join(reporoot, "<STR_LIT>", "<STR_LIT>")<EOL>chdir(source)<EOL>count = <NUM_LIT:0><EOL>for json in glob("<STR_LIT>"):<EOL><INDENT>if not testmode:<EOL><INDENT>copy(json, target)<EOL><DEDENT>count += <NUM_LIT:1><EOL><DEDENT>for cfg in glob("<STR_LIT>"):<EOL><INDENT>if not testmode:<EOL><INDENT>copy(cfg, target)<EOL><DEDENT>count += <NUM_LIT:1><EOL><DEDENT>chdir(current)        <EOL>msg.okay("<STR_LIT>".format(count, target))<EOL>
Runs custom configuration steps for the packages that ship with support
    in acorn.