mirror of
https://github.com/elisspace/rtinst.git
synced 2026-10-06 17:16:22 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
318573ed63 | ||
|
|
5035ab0a95 | ||
|
|
1b9794ee7d | ||
|
|
eaffb50529 | ||
|
|
00aed27199 |
+8
-1
@@ -15,7 +15,7 @@
|
||||
PATH=/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/bin:/sbin
|
||||
|
||||
# if left blank will install latest version of rtorrent, or set to a specific release E.G. '0.9.6' to install that release
|
||||
rtorrentrel=''
|
||||
rtorrentrel='0.9.6'
|
||||
|
||||
#url's of the major components
|
||||
rt_url="http://rtorrent.net/downloads/"
|
||||
@@ -59,6 +59,13 @@ if [ "$relno" = "18" ]; then
|
||||
libcver=libcurl4
|
||||
fi
|
||||
|
||||
if [ "$relno" = "10" ]; then
|
||||
phpver=php7.3
|
||||
phploc=/etc/php/7.3
|
||||
geoipver=php-geoip
|
||||
libcver=libcurl4
|
||||
fi
|
||||
|
||||
serveripa=$(ip route get 8.8.8.8 | awk 'NR==1 {print $7}')
|
||||
serveripb=$(wget -qO- ipecho.net/plain)
|
||||
|
||||
|
||||
+2
-2
@@ -22,7 +22,7 @@ xmlrpcloc_alt='https://github.com/mirror/xmlrpc-c/trunk/advanced'
|
||||
|
||||
rtdevrel=1
|
||||
|
||||
if [ $relno = 9 ] || [ $(lsb_release -sr) = 17.10 ] || [ $relno = 18 ]; then
|
||||
if [ $relno = 9 ] || [ $relno = 10 ] || [ $(lsb_release -sr) = 17.10 ] || [ $relno = 18 ]; then
|
||||
rtdevrel=0
|
||||
fi
|
||||
|
||||
@@ -225,7 +225,7 @@ make -s install >> $logfile 2>&1
|
||||
cd ../rtorrent-$rtvers
|
||||
echo "Installing rtorrent" | tee -a $logfile
|
||||
./autogen.sh >> $logfile 2>&1
|
||||
./configure --prefix=/usr --with-xmlrpc-c >> $logfile 2>&1
|
||||
./configure --prefix=/usr --with-xmlrpc-c --enable-ipv6 >> $logfile 2>&1
|
||||
make -j$(nproc) >> $logfile 2>&1
|
||||
make -s install >> $logfile 2>&1
|
||||
ldconfig >> $logfile 2>&1
|
||||
|
||||
Reference in New Issue
Block a user