Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add upgrade notice post-install script to RPM spec file #86

Merged
merged 1 commit into from
Apr 6, 2017

Conversation

jtpalmer
Copy link
Contributor

@jtpalmer jtpalmer commented Apr 5, 2017

Description

Adds a post-install script to the RPM spec file that outputs some text if the RPM is being upgraded.

Motivation and Context

After upgrading the xdmod RPM the xdmod-upgrade must be executed. This is currently not done automatically because it may take hours to run or require user interaction. This addition is intended to remind users to run this command.

Tests performed

Upgraded RPM and checked for the new message. Also did a clean install of the RPM to confirm the message is not displayed in that situation.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project as found in the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@jtpalmer jtpalmer added the enhancement Enhancement of the functionality of an existing feature label Apr 5, 2017
@jtpalmer jtpalmer added this to the v6.6.0 milestone Apr 5, 2017
@jtpalmer jtpalmer merged commit e41d9c3 into ubccr:xdmod6.6 Apr 6, 2017
@jtpalmer jtpalmer deleted the add-rpm-upgrade-notice branch April 6, 2017 11:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement of the functionality of an existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants