mirror of
https://github.com/quamotion/dotnet-packaging.git
synced 2026-02-14 05:35:57 +00:00
[PR #49] [MERGED] Don't remove entries on upgrade #199
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/quamotion/dotnet-packaging/pull/49
Author: @qmfrederik
Created: 11/7/2017
Status: ✅ Merged
Merged: 11/8/2017
Merged by: @qmfrederik
Base:
master← Head:rpm/no-removal-on-upgrade📝 Commits (1)
e705a54Don't remove entries in the prun script when the package is being upgraded.📊 Changes
1 file changed (+5 additions, -1 deletions)
View changed files
📝
Packaging.Targets/Rpm/RpmPackageCreator.cs(+5 -1)📄 Description
We will remove entries with
RemoveOnUninstallvia apreunscript. This script also runs when the package is being upgraded.Mark this script with a condition
$1 -eq 0to detect package uninstall rather than upgrade.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.