Skip to content

Commit

Permalink
[arm64] Fixes "WARNING: Unable to start rtorrent"
Browse files Browse the repository at this point in the history
If the package libxmlrpc-core-c3-dev is not installed on an arm64 system, rTorrent won't be able to run and you'll get the following error - WARNING: Unable to start rtorrent

Fixes the issue: #246
  • Loading branch information
V33m authored Sep 11, 2019
1 parent 0652fe1 commit 2f7ad34
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scripts/rtinst
Original file line number Diff line number Diff line change
Expand Up @@ -556,6 +556,11 @@ for package_name in $package_list
fi
done

# Installs a package needed to prevent arm64 architectures from "WARNING: Unable to start rtorrent"
if [ "$(uname --m)" == "aarch64" ] || [ "$(dpkg --print-architecture)" == "arm64" ] ; then
sudo apt-get install libxmlrpc-core-c3-dev
fi

test -z "$install_list" || apt-get -qq install $install_list >> $logfile 2>&1
if ! [ $? = 0 ]; then
echo "Problem installing packages. Check log and rerun once it is resolved" && exit
Expand Down

0 comments on commit 2f7ad34

Please sign in to comment.