mirror of
https://github.com/elisspace/rtinst.git
synced 2026-10-06 17:16:22 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
eef6d04d9d | ||
|
|
bde4bb2492 | ||
|
|
e7679d897b | ||
|
|
ba2a315b37 | ||
|
|
a0be8c3278 |
+1
-1
@@ -353,7 +353,7 @@ echo "?>" >> /var/www/rutorrent/conf/users/$user/config.php
|
||||
mkdir /var/www/rutorrent/conf/users/$user/plugins/autodl-irssi
|
||||
mkdir -p $home/.irssi/scripts/autorun
|
||||
cd $home/.irssi/scripts
|
||||
curl -sL http://git.io/vlcND | grep -Po '(?<="browser_download_url": ")(.*-v[\d.]+.zip)' | xargs wget --quiet -O autodl-irssi.zip
|
||||
curl -sL http://git.io/vlcND | sed -n 's/.*browser_download_url": \?"\(.*zip\)".*/\1/p' | xargs wget --quiet -O autodl-irssi.zip
|
||||
unzip -o autodl-irssi.zip >> /dev/null 2>&1
|
||||
rm autodl-irssi.zip
|
||||
cp autodl-irssi.pl autorun/
|
||||
|
||||
+3
-3
@@ -231,14 +231,14 @@ if [ "$relno" = "18" ] || [ "$relno" = "19" ]; then
|
||||
libcver=libcurl4
|
||||
fi
|
||||
|
||||
if [ "$relno" = "10" ]; then
|
||||
if [ "$relno" = "10" ] || [ "$(lsb_release -sr)" = "19.10" ]; then
|
||||
phpver=php7.3
|
||||
phploc=/etc/php/7.3
|
||||
libcver=libcurl4
|
||||
fi
|
||||
|
||||
serveripa=$(ip route get 8.8.8.8 | awk 'NR==1 {print $7}')
|
||||
serveripb=$(wget -qO- ipecho.net/plain)
|
||||
serveripb=$(wget -qO- --timeout=3 ipecho.net/plain)
|
||||
|
||||
if [ "$serveripa" = "$serveripb" ]; then
|
||||
serverip=$serveripa
|
||||
@@ -909,7 +909,7 @@ adlpass=$(genpasswd $(random 12 16))
|
||||
|
||||
mkdir -p $home/.irssi/scripts/autorun
|
||||
cd $home/.irssi/scripts
|
||||
curl -sL http://git.io/vlcND | grep -Po '(?<="browser_download_url": ")(.*-v[\d.]+.zip)' | xargs wget --quiet -O autodl-irssi.zip
|
||||
curl -sL http://git.io/vlcND | sed -n 's/.*browser_download_url": \?"\(.*zip\)".*/\1/p' | xargs wget --quiet -O autodl-irssi.zip
|
||||
unzip -qq -o autodl-irssi.zip | tee -a $logfile
|
||||
rm autodl-irssi.zip
|
||||
cp autodl-irssi.pl autorun/
|
||||
|
||||
Reference in New Issue
Block a user