Skip to content

Commit

Permalink
fixup comment
Browse files Browse the repository at this point in the history
  • Loading branch information
kalefranz committed Nov 11, 2016
1 parent d6391f0 commit 340d948
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions conda/core/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,16 +253,14 @@ def unlink(self):

meta = load_meta(self.prefix, self.dist)

# Always try to run this - it should not throw errors where menus do not exist
# TODO: add this line back: mk_menus(prefix, meta['files'], remove=True)

dirs_with_removals = set()

for f in meta['files']:
dirs_with_removals.add(dirname(f))
rm_rf(join(self.prefix, f))

if on_win and bool(MENU_RE.match(f)):
# Always try to run this - it should not throw errors where menus do not exist
make_menu(self.prefix, f, remove=False)

# remove the meta-file last
Expand Down

0 comments on commit 340d948

Please sign in to comment.