mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
Update install.sh
This commit is contained in:
@@ -53,8 +53,11 @@ Install_qbittorrent()
|
|||||||
wget -O ${QB_DIR}/qbittorrent-4.1.5.tar.gz https://github.com/qbittorrent/qBittorrent/archive/release-4.1.5.tar.gz
|
wget -O ${QB_DIR}/qbittorrent-4.1.5.tar.gz https://github.com/qbittorrent/qBittorrent/archive/release-4.1.5.tar.gz
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cd ${QB_DIR} && tar -zxvf qbittorrent-4.1.5.tar.gz && \
|
if [ ! -f ${QB_DIR}/qBittorrent-release-4.1.5 ];then
|
||||||
./configure --prefix=$serverPath/qbittorrent --disable-gui && make && make install
|
cd ${QB_DIR} && tar -zxvf qbittorrent-4.1.5.tar.gz
|
||||||
|
fi
|
||||||
|
|
||||||
|
cd ${QB_DIR}/qBittorrent-release-4.1.5 && ./configure --prefix=$serverPath/qbittorrent --disable-gui && make && make install
|
||||||
|
|
||||||
echo '4.1.5' > $serverPath/qbittorrent/version.pl
|
echo '4.1.5' > $serverPath/qbittorrent/version.pl
|
||||||
echo '安装完成' > $install_tmp
|
echo '安装完成' > $install_tmp
|
||||||
|
|||||||
Reference in New Issue
Block a user