Skip to content

Commit

Permalink
Fix existing version detection.
Browse files Browse the repository at this point in the history
  • Loading branch information
allenh1 committed Dec 19, 2017
1 parent 092abce commit 370c917
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion superflore/generators/ebuild/gen_packages.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def regenerate_pkg(overlay, pkg, distro, preserve_existing=False):
distro.name, pkg
)
)
if preserve_existing and existing:
if preserve_existing and os.path.isfile(ebuild_name):
ok("ebuild for package '%s' up to date, skipping..." % pkg)
return None, []
elif existing:
Expand Down

0 comments on commit 370c917

Please sign in to comment.