mirror of
https://github.com/elisspace/rtinst.git
synced 2026-10-06 17:16:22 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9c14c2a82d | ||
|
|
25fa01635a | ||
|
|
4588907f07 |
@@ -33,6 +33,7 @@ It has been tested with clean installs of:
|
||||
Debian 7 "Wheezy" (unsupported)
|
||||
Debian 8 "Jessie"
|
||||
Debian 9 "Stretch"
|
||||
Debian 10 "Buster"
|
||||
|
||||
Services that will be installed and configured are
|
||||
|
||||
|
||||
+15
-15
@@ -26,9 +26,9 @@ if [ $relno = 9 ] || [ $relno = 10 ] || [ $(lsb_release -sr) = 17.10 ] || [ $rel
|
||||
rtdevrel=0
|
||||
fi
|
||||
|
||||
if [ $rtdevrel = 0 ]; then
|
||||
sourcedir='https://github.com/rakshasa/'
|
||||
fi
|
||||
#if [ $rtdevrel = 0 ]; then
|
||||
# sourcedir='https://github.com/rakshasa/'
|
||||
#fi
|
||||
|
||||
listsize=6
|
||||
duoversion=''
|
||||
@@ -139,13 +139,13 @@ if [ -z $passed_rtvers ]; then
|
||||
|
||||
# checks if the OS is debian 9, and forces the version to 0.9.7 of it is
|
||||
if [ $rtdevrel = 0 ]; then
|
||||
libvers='0.13.7'
|
||||
rtvers='0.9.7'
|
||||
echo "Debian 9, and Ubuntu 17.10 and later, are only supported by libtorrent-0.13.7/rtorrent-0.9.7"
|
||||
libvers='0.13.8'
|
||||
rtvers='0.9.8'
|
||||
echo "Debian 9, and Ubuntu 17.10 and later, are only supported by libtorrent-0.13.7/rtorrent-0.9.7 or later"
|
||||
else
|
||||
list_version
|
||||
fi
|
||||
|
||||
|
||||
echo "Install libtorrent-$libvers and rtorrent-$rtvers"
|
||||
echo "Your rtorrent config, torrents, and data will not be lost or changed"
|
||||
echo -n "Continue? "
|
||||
@@ -166,9 +166,9 @@ else
|
||||
|
||||
# checks if the OS is debian 9, and forces the version to 0.9.7 of it is
|
||||
if [ $rtdevrel = 0 ]; then
|
||||
libvers='0.13.7'
|
||||
rtvers='0.9.7'
|
||||
echo "Debian 9, and Ubuntu 17.10 and later, are only supported by libtorrent-0.13.7/rtorrent-0.9.7"
|
||||
libvers='0.13.8'
|
||||
rtvers='0.9.8'
|
||||
echo "Debian 9, and Ubuntu 17.10 and later, are only supported by libtorrent-0.13.7/rtorrent-0.9.7 or later"
|
||||
fi
|
||||
|
||||
fi
|
||||
@@ -192,13 +192,13 @@ rm -rf xmlrpc libtorrent* rtorrent*
|
||||
echo "Fetching source files"
|
||||
|
||||
|
||||
if [ $rtdevrel = 0 ]; then
|
||||
git clone -q -b feature-bind --single-branch https://github.com/rakshasa/libtorrent.git libtorrent-$libvers
|
||||
git clone -q -b feature-bind --single-branch https://github.com/rakshasa/rtorrent.git rtorrent-$rtvers
|
||||
else
|
||||
#if [ $rtdevrel = 0 ]; then
|
||||
# git clone -q -b feature-bind --single-branch https://github.com/rakshasa/libtorrent.git libtorrent-$libvers
|
||||
# git clone -q -b feature-bind --single-branch https://github.com/rakshasa/rtorrent.git rtorrent-$rtvers
|
||||
#else
|
||||
curl -# http://rtorrent.net/downloads/libtorrent-$libvers.tar.gz | tar xz
|
||||
curl -# http://rtorrent.net/downloads/rtorrent-$rtvers.tar.gz | tar xz
|
||||
fi
|
||||
#fi
|
||||
|
||||
if [ $xmlrpc_repo = 0 ]; then
|
||||
svn co $xmlrpcloc xmlrpc >> $logfile 2>&1
|
||||
|
||||
Reference in New Issue
Block a user