Commit fba59beb authored by Klaus Aehlig's avatar Klaus Aehlig
Browse files

Add an empty post-upgrade hook



As 2.10 is the first version from which you can do automatic upgrades,
there is nothing to do when going to any other version in the 2.10
branch.
Signed-off-by: default avatarKlaus Aehlig <aehlig@google.com>
Reviewed-by: default avatarPetr Pudlak <pudlak@google.com>
parent 4d765a17
......@@ -1050,6 +1050,7 @@ python_scripts = \
tools/lvmstrap \
tools/move-instance \
tools/ovfconverter \
tools/post-upgrade \
tools/sanitize-config
dist_tools_SCRIPTS = \
......
#!/usr/bin/python
#
# Copyright (C) 2014 Google Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301, USA.
# pylint: disable=C0103
"""Hook to be run after upgrading to this version.
"""
def main():
"""Main program.
"""
return 0
if __name__ == "__main__":
exit(main())
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment