Skip to content

Commit

Permalink
Merge pull request #147 from stickz/patch-7
Browse files Browse the repository at this point in the history
cURL: Apply sed fix to update ruTorrent config
  • Loading branch information
Rathorian authored Dec 10, 2024
2 parents a31d67f + 4118891 commit 568062f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions rootfs/usr/local/bin/update-config
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,6 @@ sed -e "s|'\/RPC'|'\/RPC2'|g" -i /config/rutorrent/conf/config.php

# update to php82
sed -e "s|'\/usr\/bin\/php81'|'\/usr\/bin\/php82'|g" -i /config/rutorrent/conf/config.php

# replace new location of curl
sed -i -e "s/\/usr\/bin\/curl/\/usr\/local\/bin\/curl/g" /config/rutorrent/conf/config.php

0 comments on commit 568062f

Please sign in to comment.