Add post hook when download fails.

This commit is contained in:
dlandon
2022-10-25 15:31:04 -05:00
parent d766948eac
commit 222bc51375
@@ -585,6 +585,8 @@ if ($method == 'install') {
if (!download($pluginURL, $plugin_file, $error)) {
write("plugin: $error\n");
@unlink($plugin_file);
// run hook scripts for post processing
post_hooks($error);
done(1);
}
} else {