Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ruTorrent: Do not permit core plugin removal of httprpc #346

Merged
merged 1 commit into from
May 17, 2024
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
5 changes: 5 additions & 0 deletions rootfs/etc/cont-init.d/03-config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,11 @@ if [ "$RU_REMOVE_CORE_PLUGINS" != "false" ]; then
for i in ${RU_REMOVE_CORE_PLUGINS//,/ }
do
if [ -z "$i" ]; then continue; fi
if [ "$i" == "httprpc" ]; then
echo "Warning: skipping core plugin httprpc, required for ruTorrent v4.3+ operation"
echo "Please remove httprpc from RU_REMOVE_CORE_PLUGINS environment varriable"
continue;
fi
echo "Removing core plugin $i..."
rm -rf "/var/www/rutorrent/plugins/${i}"
done
Expand Down
Loading