Skip to content

Commit

Permalink
Merge pull request crazy-max#346 from stickz/patch-5
Browse files Browse the repository at this point in the history
ruTorrent: Do not permit core plugin removal of httprpc
  • Loading branch information
crazy-max authored May 17, 2024
2 parents c8d7fe0 + 6d4d88b commit f3c99e6
Showing 1 changed file with 5 additions and 0 deletions.
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

0 comments on commit f3c99e6

Please sign in to comment.