Skip to content

Commit

Permalink
libdeng2|Config: Detect upgrades only once
Browse files Browse the repository at this point in the history
Once the new version has been detected, we can forget about
__oldversion__.
  • Loading branch information
skyjake committed Dec 3, 2012
1 parent b4e632b commit db0c144
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions doomsday/libdeng2/modules/Config.de
Expand Up @@ -95,4 +95,7 @@ if '__oldversion__' in locals()
# Current version is newer.
print 'Detected new release:', __oldversion__, '=>', __version__
end

# The above should be done only once after upgrading.
del __oldversion__
end

0 comments on commit db0c144

Please sign in to comment.