Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ public function revertFiles() {
$readmeContent .= "Unraid OS by [Lime Technology, Inc.](https://lime-technology.com).\n";
file_put_contents($readmeFile, $readmeContent);

// Delete plugin files that were downloaded during the OS upgrade
if (is_dir("/boot/config/plugins-nextboot")) {
shell_exec("rm -rf /boot/config/plugins-nextboot");
}

return ['success' => true]; // Upgrade handled successfully
} catch (\Throwable $th) {
return [
Expand Down
Loading