Skip to content

Commit d73953f

Browse files
authored
fix: Connect won't appear within Apps - Previous Apps (#1727)
Manual removal of the .plg is never necessary. plugin script will automatically move the .plg to /config/plugins-removed Manual removal results in PHP errors and possible indeterminate state <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - Bug Fixes - Updated plugin removal on Unraid 7.2+ to no longer delete the plugin file during boot. You’ll now be clearly prompted to reboot to complete uninstallation, reducing unexpected removals and improving guidance. Behavior on earlier Unraid versions remains unchanged. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 parent 0d165a6 commit d73953f

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

plugin/plugins/dynamix.unraid.net.plg

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -304,13 +304,6 @@ exit 0
304304
-d "Unraid Connect plugin has been marked for removal. Please reboot your server to complete the uninstallation." \
305305
-i "warning"
306306
307-
# Remove the plugin file so it won't be installed on reboot
308-
PLUGIN_FILE="/boot/config/plugins/${MAINNAME}.plg"
309-
if [ -f "$PLUGIN_FILE" ]; then
310-
echo "Removing plugin file: $PLUGIN_FILE"
311-
rm -f "$PLUGIN_FILE"
312-
fi
313-
314307
echo "Plugin marked for removal. Reboot required to complete uninstallation."
315308
else
316309
# Original removal method for older versions

0 commit comments

Comments
 (0)