mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-13 00:45:44 +01:00
Set uninstalled marker on cancel
This commit is contained in:
@@ -24,6 +24,7 @@ class PendingPluginUninstallation {
|
||||
LOG.info("cancel uninstallation of plugin {}", name);
|
||||
try {
|
||||
Files.delete(uninstallFile);
|
||||
plugin.setMarkedForUninstall(false);
|
||||
} catch (IOException ex) {
|
||||
throw new PluginFailedToCancelInstallationException("failed to cancel uninstallation of plugin " + name, ex);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user