settings, trees, mtimedb = load_emerge_config(trees=trees)
portdb = trees[settings["ROOT"]]["porttree"].dbapi
- ldpath_mtimes = mtimedb["ldpath"]
xterm_titles = "notitles" not in settings.features
"""Disable color as early as possible via NOCOLOR and stdout
validate_ebuild_environment(trees)
vartree = trees[settings["ROOT"]]["vartree"]
if 1 == unmerge(settings, myopts, vartree, myaction, myfiles,
- ldpath_mtimes, raise_on_missing=False):
+ mtimedb["ldpath"], raise_on_missing=False):
if "--pretend" not in myopts:
post_emerge(settings, mtimedb, 0)
elif "depclean"==myaction:
validate_ebuild_environment(trees)
- action_depclean(settings, trees, ldpath_mtimes,
+ action_depclean(settings, trees, mtimedb["ldpath"],
myopts, spinner)
if "--pretend" not in myopts:
post_emerge(settings, mtimedb, 0)