GitHub user njayaram2 opened a pull request:
https://github.com/apache/madlib/pull/327
Upgrade: Fix issue with upgrading RPM to 1.15.1
JIRA: MADLIB-1278
During RPM upgrade, rpm_post.sh is run first, followed by
rpm_post_uninstall.sh. So we must do all the uninstallation specific
stuff based on the current operation being uninstall or upgrade.
This commit makes the necessary change to remove symlinks only during
uninstallation, and not while upgrading.
Co-authored-by: Domino Valdano
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/madlib/madlib rpm-upgrade-fix
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/madlib/pull/327.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #327
commit 8234449be7d8522aa6d351bf504a573558cad4d3
Author: Nandish Jayaram
Date: 2018-10-01T21:32:44Z
Upgrade: Fix issue with upgrading RPM to 1.15.1
JIRA: MADLIB-1278
During RPM upgrade, rpm_post.sh is run first, followed by
rpm_post_uninstall.sh. So we must do all the uninstallation specific
stuff based on the current operation being uninstall or upgrade.
This commit makes the necessary change to remove symlinks only during
uninstallation, and not while upgrading.
Co-authored-by: Domino Valdano
---